Re: Custom oauth validator options

Daniel Gustafsson <daniel@yesql.se>

From: Daniel Gustafsson <daniel@yesql.se>
To: Zsolt Parragi <zsolt.parragi@percona.com>
Cc: Jacob Champion <jacob.champion@enterprisedb.com>, Nikolay Shaplov <dhyan@nataraj.su>, Álvaro Herrera <alvherre@kurilemu.de>, VASUKI M <vasukianand0119@gmail.com>, PostgreSQL Hackers <pgsql-hackers@lists.postgresql.org>, david.g.johnston@gmail.com, Robert Haas <robertmhaas@gmail.com>, myon@debian.org
Date: 2026-03-24T12:29:04Z
Lists: pgsql-hackers
> On 23 Mar 2026, at 23:45, Zsolt Parragi <zsolt.parragi@percona.com> wrote:
> 
>> I considered letting this lapse for 19 instead
> 
> That was also my conclusion. After the discussion in the SNI thread I
> started working on a PoC for a more modern syntax for hba/ident/hosts,
> hoping that a generic extensibility/guc patch could be based on that.

FWIW I support this line of investigation and look forward to seeing what it
could look like.

--
Daniel Gustafsson




Commits

  1. oauth: Allow validators to register custom HBA options

  2. Make LOAD of an already-loaded library into a no-op, instead of attempting