pgsql: Use a more portable way to get the version string in PostgresNod

From: Andrew Dunstan <andrew(at)dunslane(dot)net>
To: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: pgsql: Use a more portable way to get the version string in PostgresNod
Date: 2021-05-20 12:08:42
Message-ID: E1ljhTm-0001Nv-Q0@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Use a more portable way to get the version string in PostgresNode

Older versions of perl on Windows don't like the list form of pipe open,
and perlcritic doesn't like the string form of open, so we avoid both
with a simpler formulation using qx{}.

Per complaint from Amit Kapila.

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/8bdd6f563aa2456de602e78991e6a9f61b8ec86d

Modified Files
--------------
src/test/perl/PostgresNode.pm | 6 ++----
1 file changed, 2 insertions(+), 4 deletions(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Tom Lane 2021-05-20 17:03:28 pgsql: Clean up cpluspluscheck violation.
Previous Message Tom Lane 2021-05-19 18:04:23 pgsql: Avoid creating testtablespace directories where not wanted.