Re: [PATCH] Fix unbounded authentication exchanges during PQconnectPoll()

Поиск
Список
Период
Сортировка
От Jacob Champion
Тема Re: [PATCH] Fix unbounded authentication exchanges during PQconnectPoll()
Дата
Msg-id CAAWbhmh4_bLK3Nh-6gUPasF4W56rQwRiTVKti1+gNuoseGnJXw@mail.gmail.com
обсуждение исходный текст
Ответ на Re: [PATCH] Fix unbounded authentication exchanges during PQconnectPoll()  (Heikki Linnakangas <hlinnaka@iki.fi>)
Список pgsql-hackers
On Wed, Feb 22, 2023 at 11:43 AM Heikki Linnakangas <hlinnaka@iki.fi> wrote:
> I separated the earlier message-length checks so that you get "invalid
> invalid authentication request" or "received invalid protocol
> negotiation message", depending on whether it was an 'R' or 'v' message.
> With that, "invalid invalid authentication request" becomes translatable
> anyway, which makes the point on translation overhead moot. I added a
> comment to mention that it's unreachable, though.

Looks good, thank you!

--Jacob



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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: pg_regress: Treat child process failure as test failure
Следующее
От: Thomas Munro
Дата:
Сообщение: Re: Add SHELL_EXIT_CODE to psql