Re: [PATCH] Fix unbounded authentication exchanges during PQconnectPoll() - Mailing list pgsql-hackers

From Jacob Champion
Subject Re: [PATCH] Fix unbounded authentication exchanges during PQconnectPoll()
Date
Msg-id CAAWbhmh4_bLK3Nh-6gUPasF4W56rQwRiTVKti1+gNuoseGnJXw@mail.gmail.com
Whole thread Raw
In response to Re: [PATCH] Fix unbounded authentication exchanges during PQconnectPoll()  (Heikki Linnakangas <hlinnaka@iki.fi>)
List 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 by date:

Previous
From: Tom Lane
Date:
Subject: Re: pg_regress: Treat child process failure as test failure
Next
From: Thomas Munro
Date:
Subject: Re: Add SHELL_EXIT_CODE to psql