pgsql: Don't assume expr is available in pgbench tests - Mailing list pgsql-committers

From Andrew Dunstan
Subject pgsql: Don't assume expr is available in pgbench tests
Date
Msg-id E1hqJW0-0000Gk-QP@gemulon.postgresql.org
Whole thread Raw
List pgsql-committers
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(-)


pgsql-committers by date:

Previous
From: Michael Paquier
Date:
Subject: Re: pgsql: Doc: Clarify interactions of pg_receivewal withremote_apply
Next
From: Heikki Linnakangas
Date:
Subject: pgsql: Refactor checks for deleted GiST pages.