From: | Julien Rouhaud <rjuju123(at)gmail(dot)com> |
---|---|
To: | Michael Paquier <michael(at)paquier(dot)xyz> |
Cc: | Nathan Bossart <nathandbossart(at)gmail(dot)com>, pgsql-hackers(at)lists(dot)postgresql(dot)org |
Subject: | Re: Allow file inclusion in pg_hba and pg_ident files |
Date: | 2022-02-28 11:42:17 |
Message-ID: | 20220228114217.vf5zmtt465zqqqpd@jrouhaud |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | 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 | Content-Type | Size |
---|---|---|
v2-0001-Extract-view-processing-code-from-hba.c.patch | text/plain | 138.3 KB |
v2-0002-Add-a-pg_ident_file_mappings-view.patch | text/plain | 23.8 KB |
v2-0003-Allow-file-inclusion-in-pg_hba-and-pg_ident-files.patch | text/plain | 30.9 KB |
v2-0004-POC-Add-a-pg_hba_matches-function.patch | text/plain | 6.7 KB |
From | Date | Subject | |
---|---|---|---|
Next Message | Amit Kapila | 2022-02-28 11:46:51 | Re: logical decoding and replication of sequences |
Previous Message | Julien Rouhaud | 2022-02-28 11:39:37 | Re: Allow file inclusion in pg_hba and pg_ident files |