Of course there should. The ODS was designed with extensibility in mind, so the initial part of the header page was sacrosanct (i.e. immutable).
This was an essential part of the architecture for forward and backward compatibility. The Y-valve, by design, would pass a connection string to all available engines until one was able to open the file and determine from the database header whether it could manage that database. Since the original architecture was robust and there was no rational reason to change it, I have very little doubt that you just open the a database file, read enough of the header page to get the ODS, and proceed from there. On Tue, Aug 23, 2022 at 12:14 AM Tommi Prami <tommi.pr...@suonentieto.fi> wrote: > Hello, > > > > I was thinking that if there is some kind of header (simple enough) in > Firebird Databases and/or backup files, maybe some one could point me into > the right direction. > > I would preferably need (mainly for installer) small tool that would check > the ODS version of the DB before I try to connect into it. And depending on > that, do some preprocessing if needed or make some other choices based upon > that. > > Currently I open the database and detect ODS version that way, but it > makes life bit too complicated. > > > > -Tee- > Firebird-Devel mailing list, web interface at > https://lists.sourceforge.net/lists/listinfo/firebird-devel > -- Jim Starkey
Firebird-Devel mailing list, web interface at https://lists.sourceforge.net/lists/listinfo/firebird-devel