Subject Re: [firebird-support] Database corruption
Author Ann W. Harrison
Jacques Marneweck wrote:
> wrong page type
> page 169452 is of wrong type (expected 7, found 5)
> (Error message: Database error.) (0x8000000d)

What version of Firebird are you running? What you're seeing is
a case where a page was incorrectly referenced in two contexts -
one as a data page (which it is) and one as an index page. The
repair is to drop and recreate the index in question - gfix should
tell you which it is. That bug is fixed in 2.0.l - the release
notes are a better place to find descriptions of bugs than the
reference manual.

Once you get that problem in a database, it will be reported
whenever you try to reference that page of that index, so fixing
it is important.