Thread: pgsql: In LDAP test, restart after pg_hba.conf changes

pgsql: In LDAP test, restart after pg_hba.conf changes

From
Peter Eisentraut
Date:
In LDAP test, restart after pg_hba.conf changes

Instead of issuing a reload after pg_hba.conf changes between test
cases, run a full restart.  With a reload, an error in the new
pg_hba.conf is ignored and the tests will continue to run with the old
settings, invalidating the subsequent test cases.  With a restart, a
faulty pg_hba.conf will lead to the test being aborted, which is what
we'd rather want.

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/b4e2ada347bd8ae941171bd0761462e5b11b765d

Modified Files
--------------
src/test/ldap/t/001_auth.pl | 22 +++++++++++-----------
1 file changed, 11 insertions(+), 11 deletions(-)