Re: [PoC] Let libpq reject unexpected authentication requests - Mailing list pgsql-hackers

From Jacob Champion
Subject Re: [PoC] Let libpq reject unexpected authentication requests
Date
Msg-id b3d990c8-cdee-227d-82bd-78dd44f6fbd7@timescale.com
Whole thread Raw
In response to Re: [PoC] Let libpq reject unexpected authentication requests  (Aleksander Alekseev <aleksander@timescale.com>)
List pgsql-hackers
On 11/11/22 22:57, Aleksander Alekseev wrote:
> I did a little more research and I think you are right. What happens
> according to the C standard:

Thanks for confirming! (I personally prefer -1 to a *MAX macro, because
it works regardless of the length of the type.)

--Jacob



pgsql-hackers by date:

Previous
From: Nathan Bossart
Date:
Subject: Re: Suppressing useless wakeups in walreceiver
Next
From: "David G. Johnston"
Date:
Subject: Re: Add sub-transaction overflow status in pg_stat_activity