Re: Incorrect error message in InitializeSessionUserId

Поиск
Список
Период
Сортировка
От Michael Paquier
Тема Re: Incorrect error message in InitializeSessionUserId
Дата
Msg-id CAB7nPqRROEv9cj8iDxrBcx1SnzcgSKYZmRvgxYF+mmT4M1E71w@mail.gmail.com
обсуждение исходный текст
Ответ на Incorrect error message in InitializeSessionUserId  (Dmitriy Sarafannikov <d.sarafannikov@bk.ru>)
Список pgsql-hackers
On Tue, Mar 1, 2016 at 10:21 PM, Dmitriy Sarafannikov
<d.sarafannikov@bk.ru> wrote:
> 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?

Not really. That looks like an oversight to me.
-- 
Michael



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

Предыдущее
От: Michael Paquier
Дата:
Сообщение: Re: 2016-03 Commitfest Manager
Следующее
От: David Fetter
Дата:
Сообщение: Re: 2016-03 Commitfest Manager