"Marc G. Fournier" <scrappy(at)hub(dot)org> writes:
> TRAP: Failed Assertion("!(metaopaque->btpo_flags & (1 << 3)):", File: "nbtpage.c
> ", Line: 181)
Hmm. That suggests a clobbered index (as in, first page zeroed out).
The Assert report doesn't tell us which index. Possibly a backtrace
of the corefile would help.
regards, tom lane