Re: Allow file inclusion in pg_hba and pg_ident files - Mailing list pgsql-hackers

From Julien Rouhaud
Subject Re: Allow file inclusion in pg_hba and pg_ident files
Date
Msg-id 20220228114217.vf5zmtt465zqqqpd@jrouhaud
Whole thread Raw
In response to Re: Allow file inclusion in pg_hba and pg_ident files  (Michael Paquier <michael@paquier.xyz>)
Responses Re: Allow file inclusion in pg_hba and pg_ident files  (Michael Paquier <michael@paquier.xyz>)
List pgsql-hackers
Hi,

On Mon, Feb 28, 2022 at 05:01:07PM +0900, Michael Paquier wrote:
> On Sat, Feb 26, 2022 at 02:50:33PM +0800, Julien Rouhaud wrote:
> > Of course.  I was thinking using "auth" for something that's common to pg_hba
> > and pg_ident (like e.g. TokenizeAuthFile()), and otherwise keep the current
> > hba/ident prefix.
> 
> Okay, thanks.

Done in attached v2.  I did the split in a separate commit, as the diff is
otherwise unreadable.  While at it I also fixed a few minor issues (I missed a
MemoryContextDelete, and now avoid relying on inet_net_pton which apparently
doesn't exist in cygwin).

Attachment

pgsql-hackers by date:

Previous
From: Julien Rouhaud
Date:
Subject: Re: Allow file inclusion in pg_hba and pg_ident files
Next
From: Amit Kapila
Date:
Subject: Re: logical decoding and replication of sequences