Incorrect error message in InitializeSessionUserId

Поиск
Список
Период
Сортировка
От Dmitriy Sarafannikov
Тема Incorrect error message in InitializeSessionUserId
Дата
Msg-id 1456838489.216323919@f428.i.mail.ru
обсуждение исходный текст
Ответы Re: Incorrect error message in InitializeSessionUserId  (Michael Paquier <michael.paquier@gmail.com>)
Re: Incorrect error message in InitializeSessionUserId  (Haribabu Kommi <kommi.haribabu@gmail.com>)
Список 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
Вложения

В списке pgsql-hackers по дате отправления:

Предыдущее
От: Amit Kapila
Дата:
Сообщение: Re: POC: Cache data in GetSnapshotData()
Следующее
От: "Daniel Verite"
Дата:
Сообщение: Re: pg_dump / copy bugs with "big lines" ?