From: Andrew Dunstan <andrew@dunslane.net>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: Don't assume expr is available in pgbench tests
Date: Wed, 24 Jul 2019 15:49:16 +0000
Message-ID: <E1hqJW0-0000Gk-QP@gemulon.postgresql.org> (raw)
Don't assume expr is available in pgbench tests
Windows hosts do not normally come with expr, so instead of using that
to test the \setshell command, use echo instead, which is fairly
universally available.
Backpatch to release 11, where this came in.
Problem found by me, patch by Fabien Coelho.
Branch
------
REL_12_STABLE
Details
-------
https://git.postgresql.org/pg/commitdiff/bfa4263e7119685cddb08ed2e2b3462157d4d453
Modified Files
--------------
src/bin/pgbench/t/001_pgbench_with_server.pl | 10 +++++-----
1 file changed, 5 insertions(+), 5 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: Don't assume expr is available in pgbench tests
In-Reply-To: <E1hqJW0-0000Gk-QP@gemulon.postgresql.org>
References: <E1hqJW0-0000Gk-QP@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