pgsql: Use safe_psql in SSL test setup to avoid silent failure - Mailing list pgsql-committers

From Daniel Gustafsson
Subject pgsql: Use safe_psql in SSL test setup to avoid silent failure
Date
Msg-id E1xE3iY-00000000Y0A-2v5G@gemulon.postgresql.org
Whole thread
List pgsql-committers
Use safe_psql in SSL test setup to avoid silent failure

When setting up the cluster for SSL tests, use safe_psql instead of plain
psql calls to ensure the processing exits on error.  There is no evidence
of this happening in the buildfarm, it's merely a precaution.

Reported-by: Jacob Champion <jacob.champion@enterprisedb.com>
Reviewed-by: Zsolt Parragi <zsolt.parragi@percona.com>
Reviewed-by: Rui Zhao <zhaorui126@gmail.com>
Discussion: https://postgr.es/m/CAOYmi+mAtEn4wN3xx=r4TaY5AHy9_q9XncM8YQLhofE3op0SvA@mail.gmail.com

Branch
------
master

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

Modified Files
--------------
src/test/ssl/t/SSL/Server.pm | 20 ++++++++++----------
1 file changed, 10 insertions(+), 10 deletions(-)


pgsql-committers by date:

Previous
From: Etsuro Fujita
Date:
Subject: pgsql: postgres_fdw: Fix typo in server version check in AcquireSampleR
Next
From: Daniel Gustafsson
Date:
Subject: pgsql: Keep current ssl_sni setting on SSL config reload failure