Commit 718fe0a
committed
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@jrouhaud1 parent 47ab1ac commit 718fe0a
1 file changed
+6
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
900 | 900 | | |
901 | 901 | | |
902 | 902 | | |
903 | | - | |
904 | | - | |
| 903 | + | |
| 904 | + | |
| 905 | + | |
905 | 906 | | |
906 | 907 | | |
907 | 908 | | |
| |||
2372 | 2373 | | |
2373 | 2374 | | |
2374 | 2375 | | |
2375 | | - | |
| 2376 | + | |
| 2377 | + | |
| 2378 | + | |
2376 | 2379 | | |
2377 | 2380 | | |
2378 | 2381 | | |
| |||
0 commit comments