From: | Michael Paquier <michael(at)paquier(dot)xyz> |
---|---|
To: | pgsql-committers(at)lists(dot)postgresql(dot)org |
Subject: | pgsql: Make consistent a couple of log messages when parsing HBA files |
Date: | 2022-08-05 00:56:34 |
Message-ID: | E1oJldi-000M0X-88@gemulon.postgresql.org |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-committers |
Make consistent a couple of log messages when parsing HBA files
This commit adjusts two log messages:
- When a field in pg_ident.conf is not populated, report the line of the
configuration file in an error context message instead of the main
entry.
- When parsing pg_ident.conf and finding an invalid regexp, add some
information about the line of the configuration file involved within an
error context message.
Author: Julien Rouhaud
Discussion: https://postgr.es/m/20220223045959.35ipdsvbxcstrhya@jrouhaud
Branch
------
master
Details
-------
https://git.postgresql.org/pg/commitdiff/718fe0a14add0fadb17d715d7aa24ebcf3fb35c4
Modified Files
--------------
src/backend/libpq/hba.c | 9 ++++++---
1 file changed, 6 insertions(+), 3 deletions(-)
From | Date | Subject | |
---|---|---|---|
Next Message | Thomas Munro | 2022-08-05 02:05:36 | pgsql: Simplify replacement code for preadv and pwritev. |
Previous Message | Michael Paquier | 2022-08-05 00:38:23 | pgsql: Use hba_file/ident_file GUCs rather than pg_hba.conf/pg_ident.co |