pgsql: Use hba_file/ident_file GUCs rather than pg_hba.conf/pg_ident.co

From: Michael Paquier <michael(at)paquier(dot)xyz>
To: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: pgsql: Use hba_file/ident_file GUCs rather than pg_hba.conf/pg_ident.co
Date: 2022-08-05 00:38:23
Message-ID: E1oJlM7-000Lsl-MB@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Use hba_file/ident_file GUCs rather than pg_hba.conf/pg_ident.conf in logs

This is particularly useful when log_min_messages is set to FATAL, so as
one can know which file was not getting loaded whether hba_file or
ident_file are set to some non-default values. If using the default
values of these GUC parameters, the same reports are generated.

This commit changes the load (startup) and reload (SIGHUP) messages.

Author: Julien Rouhaud
Discussion: https://postgr.es/m/20220223045959.35ipdsvbxcstrhya@jrouhaud

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/47ab1ac822cd928bfe43b2c25be102a6a08902f4

Modified Files
--------------
src/backend/postmaster/postmaster.c | 7 ++++---
src/backend/utils/init/postinit.c | 3 ++-
2 files changed, 6 insertions(+), 4 deletions(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Michael Paquier 2022-08-05 00:56:34 pgsql: Make consistent a couple of log messages when parsing HBA files
Previous Message David Rowley 2022-08-04 22:15:05 pgsql: Fix failure to set correct operator in window run condition