From: | Dmitriy Sarafannikov <d(dot)sarafannikov(at)bk(dot)ru> |
---|---|
To: | Pgsql Hackers <pgsql-hackers(at)postgresql(dot)org> |
Subject: | Incorrect error message in InitializeSessionUserId |
Date: | 2016-03-01 13:21:29 |
Message-ID: | 1456838489.216323919@f428.i.mail.ru |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers |
Hi all,
I have found incorrect error message in InitializeSessionUserId function
if you try to connect to database by role Oid (for example BackgroundWorkerInitializeConnectionByOid).
If role have no permissions to login, you will see error message like this:
FATAL: role "(null)" is not permitted to log in
I changed few lines of code and fixed this.
Patch is attached.
I want to add this patch to commitfest.
Any objections?
Regards,
Dmitriy Sarafannikov
Attachment | Content-Type | Size |
---|---|---|
=?UTF-8?B?bWlzY2luaXQucGF0Y2g=?= | application/x-patch | 2.2 KB |
From | Date | Subject | |
---|---|---|---|
Next Message | Jim Nasby | 2016-03-01 13:36:45 | Re: dealing with extension dependencies that aren't quite 'e' |
Previous Message | Magnus Hagander | 2016-03-01 13:18:41 | Re: Addition of extra commit fest entry to park future patches |