From: | Michael Paquier <michael(at)paquier(dot)xyz> |
---|---|
To: | pgsql-committers(at)lists(dot)postgresql(dot)org |
Subject: | pgsql: Add system view pg_ident_file_mappings |
Date: | 2022-03-29 01:16:36 |
Message-ID: | E1nZ0TL-001pju-Vh@gemulon.postgresql.org |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-committers |
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(-)
From | Date | Subject | |
---|---|---|---|
Next Message | Michael Paquier | 2022-03-29 04:53:14 | pgsql: Avoid instabilities with the regression tests of pg_freespacemap |
Previous Message | Michael Paquier | 2022-03-29 00:09:22 | pgsql: Modify query on pg_hba_file_rules to check for errors in regress |