pgsql: In LDAP test, restart after pg_hba.conf changes - Mailing list pgsql-committers

From Peter Eisentraut
Subject pgsql: In LDAP test, restart after pg_hba.conf changes
Date
Msg-id E1elbMN-0006vc-MS@gemulon.postgresql.org
Whole thread Raw
List pgsql-committers
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(-)


pgsql-committers by date:

Previous
From: Peter Eisentraut
Date:
Subject: pgsql: Fix typo
Next
From: Peter Eisentraut
Date:
Subject: pgsql: Fix typo