Subject Re[2]: [firebird-support] Unsupported on-disk structure for file xxx.FDB; found 32779, support 15
Author Dmitry Kuzmenko
Hello, All!

You may add this to the FAQ:

Server, native ODS, can work with ODS

InterBase 4.0/4.1 8.0 ...
InterBase 4.2 8.2 8.2
InterBase 5.0/5.1 9.0 8.2
InterBase 5.5 9.1 8.2
InterBase 5.6 9.1 8.2
InterBase 6.01
Firebird 1.0
Yaffil 10.0 9.0/9.1
Firebird 1.5 10.1 9.0/9.1, 10.0
InterBase 7.03 11.0 10.0
InterBase 7.1 11.1 10.0
InterBase 7.54 11.2 10.0
Firebird 2.0 11.0 10.x
Firebird 2.1 11.1 10.x, 11.0
Firebird 2.5 11.2 10.x, 11.x
InterBase 2007 12.0 11.x (InterBase 7.x)
InterBase 2009 13.1 12.0
InterBase XE 15.0 13.1
InterBase XE3 15.0

Example error messages by gstat:
Wrong ODS version, expected 8, encountered 32779?
InterBase 4.x tries to open Firebird 2.x database

Wrong ODS version, expected 8, encountered 13?
InterBase 4.x tries to open IntrBase 2009 database

Wrong ODS version, expected 15, encountered 32779
InterBase XE/XE3 tries to open Firebird 2.x database

Wrong ODS version, expected 11, encountered 15
Firebird 2.x tries to open InterBase XE/XE3 database


Example error messages from server (client):
unsupported on-disk stucture for file ...; found 32779, support 10
Firebird 1.0/1.5 or InterBase 6.0 tries to open Firebird 2.x database.

Firebird 2.x, to make ODS distinguesable from InterBase 7.x and higher
adds higher bit (x8000) to the ODS.
In hex ODS 32779 will be 800B, that means Firebird's ODS 11.

--
Dmitry Kuzmenko, www.ib-aid.com