Make consistent a couple of log messages when parsing HBA files

Michael Paquier <michael@paquier.xyz>

Commit: 718fe0a14add0fadb17d715d7aa24ebcf3fb35c4
Author: Michael Paquier <michael@paquier.xyz>
Date: 2022-08-05T00:50:27Z
Releases: 16.0
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

Files

PathChange+/−
src/backend/libpq/hba.c modified +6 −3

Discussion