From: Andrew Dunstan <andrew@dunslane.net>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: In PostgresNode.pm, don't pass SQL to psql on the command line
Date: Thu, 03 Jun 2021 21:35:40 +0000
Message-ID: <E1lov08-0002KU-8a@gemulon.postgresql.org> (raw)
In PostgresNode.pm, don't pass SQL to psql on the command line
The Msys shell mangles certain patterns in its command line, so avoid
handing arbitrary SQL to psql on the command line and instead use
IPC::Run's redirection facility for stdin. This pattern is already
mostly whats used, but query_poll_until() was not doing the right thing.
Problem discovered on the buildfarm when a new TAP test failed on msys.
Branch
------
REL_12_STABLE
Details
-------
https://git.postgresql.org/pg/commitdiff/0c92ed165ec13672d615d81a5c5fb76580f92f13
Modified Files
--------------
src/test/perl/PostgresNode.pm | 5 +++--
1 file changed, 3 insertions(+), 2 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: andrew@dunslane.net
Subject: Re: pgsql: In PostgresNode.pm, don't pass SQL to psql on the command line
In-Reply-To: <E1lov08-0002KU-8a@gemulon.postgresql.org>
References: <E1lov08-0002KU-8a@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