Tom Lane wrote:
> Alvaro Herrera <alvherre@commandprompt.com> writes:
> > I'm chasing an apparent index corruption problem, and I came across
> > something I can't quite explain in pg_filedump. Say I dump a non-leaf
> > btree index page:
>
> I think this is actually OK. Remember that in a non-rightmost page,
> item 1 is the high key not a data entry.
Oh, BTW, this is not what's corrupted about this index -- I just had
trouble following what pg_filedump was reporting. The corruption is
more subtle: vacuum cannot find the parent page when trying to mark a
page for deletion.
--
Alvaro Herrera http://www.CommandPrompt.com/
The PostgreSQL Company - Command Prompt, Inc.