Alvaro Herrera <alvherre(at)alvh(dot)no-ip(dot)org> writes:
> I can reproduce this with a couple-of-days-old CVS tip:
> TRAP: BadState(!(((bool) ((OuterUserId) != ((Oid) 0)))), Archivo: /pg/source/00orig/src/backend/utils/init/miscinit.c, Lnea: 336)
Ooops, should have tested the full-AbortTransaction-to-clean-up change
a bit more. Will fix.
regards, tom lane