From: Daniel Gustafsson <dgustafsson@postgresql.org>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: Use safe_psql in SSL test setup to avoid silent failure
Date: Tue, 06 Oct 2026 11:52:22 +0000
Message-ID: <E1xE3iY-00000000Y0A-2v5G@gemulon.postgresql.org> (raw)
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(-)
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-committers@postgresql.org
Cc: dgustafsson@postgresql.org
Subject: Re: pgsql: Use safe_psql in SSL test setup to avoid silent failure
In-Reply-To: <E1xE3iY-00000000Y0A-2v5G@gemulon.postgresql.org>
References: <E1xE3iY-00000000Y0A-2v5G@gemulon.postgresql.org>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox