Add system view pg_ident_file_mappings
Michael Paquier <michael@paquier.xyz>
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
Files
| Path | Change | +/− |
|---|---|---|
| doc/src/sgml/catalogs.sgml | modified | +107 −0 |
| doc/src/sgml/client-auth.sgml | modified | +10 −0 |
| doc/src/sgml/func.sgml | modified | +3 −2 |
| src/backend/catalog/system_views.sql | modified | +6 −0 |
| src/backend/libpq/hba.c | modified | +17 −14 |
| src/backend/utils/adt/hbafuncs.c | modified | +136 −0 |
| src/include/catalog/catversion.h | modified | +1 −1 |
| src/include/catalog/pg_proc.dat | modified | +6 −0 |
| src/include/libpq/hba.h | modified | +1 −0 |
| src/test/regress/expected/rules.out | modified | +6 −0 |
| src/test/regress/expected/sysviews.out | modified | +8 −0 |
| src/test/regress/sql/sysviews.sql | modified | +4 −0 |
Documentation touched
Discussion
- Allow file inclusion in pg_hba and pg_ident files 96 messages · 2022-02-23 → 2022-11-28