Crash while trying to log in with nonexistent role
I can reproduce this with a couple-of-days-old CVS tip:
alvherre=# \c - test
FATAL: role "test" does not exist
And the server log says
FATAL: role "test" does not exist
TRAP: BadState(�!(((bool) ((OuterUserId) != ((Oid) 0))))�, Archivo: �/pg/source/00orig/src/backend/utils/init/miscinit.c�, L�nea: 336)
--
Alvaro Herrera (<alvherre[a]alvh.no-ip.org>)
"[PostgreSQL] is a great group; in my opinion it is THE best open source
development communities in existence anywhere." (Lamar Owen)
Alvaro Herrera <alvherre@alvh.no-ip.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�, L�nea: 336)
Ooops, should have tested the full-AbortTransaction-to-clean-up change
a bit more. Will fix.
regards, tom lane