postgresql/src
Michael Paquier 091a971bb5 Modify query on pg_hba_file_rules to check for errors in regression tests
The regression tests include a query to check the execution path of
pg_hba_file_rules, but it has never checked that a given cluster has
correct contents in pg_hba.conf.  This commit extends the query of
pg_hba_file_rules to report any errors if anything bad is found.  For
EXEC_BACKEND builds, any connection attempt would fail when loading
pg_hba.conf if any incorrect content is found when parsed, so a failure
would be detected before even running this query.  However, this can
become handy for clusters where pg_hba.conf can be reloaded, where new
connection attempts are not subject to a fresh loading of pg_hba.conf.

Author: Julien Rouhaud, based on an idea from me
Discussion: https://postgr.es/m/YkFhpydhyeNNo3Xl@paquier.xyz
2022-03-29 09:06:51 +09:00
..
backend IS JSON predicate 2022-03-28 15:37:08 -04:00
bin Fix a few goofs in new backup compression code. 2022-03-28 12:19:05 -04:00
common Make update-unicode target work in vpath builds 2022-03-25 09:47:50 +01:00
fe_utils Allow pgbench to retry in some cases. 2022-03-23 19:05:45 +09:00
include IS JSON predicate 2022-03-28 15:37:08 -04:00
interfaces Add support for MERGE SQL command 2022-03-28 16:47:48 +02:00
makefiles Refactor DLSUFFIX handling 2022-03-25 08:56:02 +01:00
pl Add support for MERGE SQL command 2022-03-28 16:47:48 +02:00
port Simplify coding around path_contains_parent_reference(). 2022-01-31 13:53:38 -05:00
template Refactor DLSUFFIX handling 2022-03-25 08:56:02 +01:00
test Modify query on pg_hba_file_rules to check for errors in regression tests 2022-03-29 09:06:51 +09:00
timezone Update copyright for 2022 2022-01-07 19:04:57 -05:00
tools Add support for MERGE SQL command 2022-03-28 16:47:48 +02:00
tutorial Update copyright for 2022 2022-01-07 19:04:57 -05:00
.gitignore
DEVELOPERS
Makefile Remove the option to build thread_test.c outside configure. 2020-10-21 12:08:48 -04:00
Makefile.global.in Refactor DLSUFFIX handling 2022-03-25 08:56:02 +01:00
Makefile.shlib AIX: Fix missing libpq symbols by respecting SHLIB_EXPORTS. 2021-09-06 11:27:59 -07:00
nls-global.mk Add errhint_plural() function and make use of it 2021-03-31 09:16:25 +02:00