Re: Reposnse from backend when wrong user/database request send

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Tatsuo Ishii <ishii(at)postgresql(dot)org>
Cc: pgsql-hackers(at)postgresql(dot)org
Subject: Re: Reposnse from backend when wrong user/database request send
Date: 2010-03-12 17:45:43
Message-ID: 6833.1268415943@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Tatsuo Ishii <ishii(at)postgresql(dot)org> writes:
> It seems between 8.4 and CVS HEAD backend responses 'E' packet
> (error/fatal message) if a startup packet sent with wrong user and/or
> database. Before backend responses 'R' packet first followd by 'E'
> packet.

> Does anybody know why this change made?

It's a side effect of the changes made to get rid of the flat
authorization files. Bad database is now reported before authentication
instead of after. I wouldn't have thought bad user per se would be
reported before auth, though --- you sure about that one?

regards, tom lane

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Pavel Stehule 2010-03-12 18:35:41 Re: Dyamic updates of NEW with pl/pgsql
Previous Message Bruce Momjian 2010-03-12 17:13:48 Re: [GENERAL] trouble with to_char('L')