Crash while trying to log in with nonexistent role

Started by Alvaro Herreraover 20 years ago2 messageshackers
Jump to latest
#1Alvaro Herrera
alvherre@2ndquadrant.com

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)

#2Tom Lane
tgl@sss.pgh.pa.us
In reply to: Alvaro Herrera (#1)
Re: Crash while trying to log in with nonexistent role

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