Crash while trying to log in with nonexistent role

Поиск
Список
Период
Сортировка
Искать

Crash while trying to log in with nonexistent role

От:
Alvaro Herrera <alvherre@alvh.no-ip.org>
Дата:
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 ()
"[PostgreSQL] is a great group; in my opinion it is THE best open source
development communities in existence anywhere."                (Lamar Owen)

Re: Crash while trying to log in with nonexistent role

От:
Tom Lane <tgl@sss.pgh.pa.us>
Дата:
Alvaro Herrera  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

FAQ