pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Michael Paquier <michael@paquier.xyz>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: Use hba_file/ident_file GUCs rather than pg_hba.conf/pg_ident.co
Date: Fri, 05 Aug 2022 00:38:23 +0000
Message-ID: <E1oJlM7-000Lsl-MB@gemulon.postgresql.org> (raw)

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(-)



Message-ID: <E1oJlM7-000Lsl-MB@gemulon.postgresql.org>
Permalink:  ../E1oJlM7-000Lsl-MB@gemulon.postgresql.org/
Also on:    postgresql.org/message-id/E1oJlM7-000Lsl-MB@gemulon.postgresql.org

 · 

reply

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: Use hba_file/ident_file GUCs rather than pg_hba.conf/pg_ident.co
  In-Reply-To: <E1oJlM7-000Lsl-MB@gemulon.postgresql.org>
  References: <E1oJlM7-000Lsl-MB@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