From: Michael Paquier <michael@paquier.xyz>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: Add system view pg_ident_file_mappings
Date: Tue, 29 Mar 2022 01:16:36 +0000
Message-ID: <E1nZ0TL-001pju-Vh@gemulon.postgresql.org> (raw)
Add system view pg_ident_file_mappings
This view is similar to pg_hba_file_rules view, except that it is
associated with the parsing of pg_ident.conf. Similarly to its cousin,
this view is useful to check via SQL if changes planned in pg_ident.conf
would work upon reload or restart, or to diagnose a previous failure.
Bumps catalog version.
Author: Julien Rouhaud
Reviewed-by: Aleksander Alekseev, Michael Paquier
Discussion: https://postgr.es/m/20220223045959.35ipdsvbxcstrhya@jrouhaud
Branch
------
master
Details
-------
https://git.postgresql.org/pg/commitdiff/a2c84990bea7beadb599d02328190e2a763dcb86
Modified Files
--------------
doc/src/sgml/catalogs.sgml | 107 ++++++++++++++++++++++++++
doc/src/sgml/client-auth.sgml | 10 +++
doc/src/sgml/func.sgml | 5 +-
src/backend/catalog/system_views.sql | 6 ++
src/backend/libpq/hba.c | 31 ++++----
src/backend/utils/adt/hbafuncs.c | 136 +++++++++++++++++++++++++++++++++
src/include/catalog/catversion.h | 2 +-
src/include/catalog/pg_proc.dat | 6 ++
src/include/libpq/hba.h | 1 +
src/test/regress/expected/rules.out | 6 ++
src/test/regress/expected/sysviews.out | 8 ++
src/test/regress/sql/sysviews.sql | 4 +
12 files changed, 305 insertions(+), 17 deletions(-)
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-committers@postgresql.org
Cc: michael@paquier.xyz
Subject: Re: pgsql: Add system view pg_ident_file_mappings
In-Reply-To: <E1nZ0TL-001pju-Vh@gemulon.postgresql.org>
References: <E1nZ0TL-001pju-Vh@gemulon.postgresql.org>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox