Unix Technical Forum

Crash while trying to log in with nonexistent role

This is a discussion on Crash while trying to log in with nonexistent role within the pgsql Hackers forums, part of the PostgreSQL category; --> I can reproduce this with a couple-of-days-old CVS tip: alvherre=# \c - test FATAL: role "test" does not exist ...


Go Back   Unix Technical Forum > Database Server Software > PostgreSQL > pgsql Hackers

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 04-11-2008, 06:17 AM
Alvaro Herrera
 
Posts: n/a
Default 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)

---------------------------(end of broadcast)---------------------------
TIP 1: if posting/reading through Usenet, please send an appropriate
subscribe-nomail command to majordomo@postgresql.org so that your
message can get through to the mailing list cleanly

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 04-11-2008, 06:17 AM
Tom Lane
 
Posts: n/a
Default 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

---------------------------(end of broadcast)---------------------------
TIP 6: explain analyze is your friend

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT. The time now is 09:40 AM.


Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.2.0
www.UnixAdminTalk.com