Re: Periodic authorization expiration checks using GoAway message - Mailing list pgsql-hackers

From Jacob Champion
Subject Re: Periodic authorization expiration checks using GoAway message
Date
Msg-id CAOYmi+m83X25ofDZLM6hgO50w_SR90_aXfQ2C=00ZCdNgNi3ww@mail.gmail.com
Whole thread Raw
In response to Re: Periodic authorization expiration checks using GoAway message  (Jelte Fennema-Nio <postgres@jeltef.nl>)
Responses Re: Periodic authorization expiration checks using GoAway message
List pgsql-hackers
On Mon, Dec 15, 2025 at 9:28 AM Jelte Fennema-Nio <postgres@jeltef.nl> wrote:
> To clarify: I meant the timeout as a backstop in this flow. Once the
> client receives a 'R' message it should be re-authenticating ASAP. But
> if it still had some messages in flight, the server can still choose
> to process them during a grace period.

But it seems iffy to change authentication metadata associated with
the connection halfway through a transaction, no? Am I missing
something that makes that architecturally safe?

--Jacob



pgsql-hackers by date:

Previous
From: Jacob Champion
Date:
Subject: Re: Periodic authorization expiration checks using GoAway message
Next
From: Andres Freund
Date:
Subject: Re: relfilenode statistics