"Jim C. Nasby" <jnasby(at)pervasive(dot)com> writes:
> TRAP: FailedAssertion("!((itemid)->lp_flags & 0x01)", File: "nbtsearch.c", Line: 89)
> Looking through the code I see that's something to do with indexes, but
> I'm not sure what. Is this likely a corrupted index?
Sounds that way.
> If so, is there some way I could identify which index?
gdb the core file and do "p rel->rd_rel->relname" in the _bt_search
stack frame (which is not going to be the top of stack but should be
close to the top).
regards, tom lane