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

Andrew Dunstan <andrew@dunslane.net>

Commit: 8bdd6f563aa2456de602e78991e6a9f61b8ec86d
Author: Andrew Dunstan <andrew@dunslane.net>
Date: 2021-05-20T12:07:08Z
Releases: 14.0
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.

Files

PathChange+/−
src/test/perl/PostgresNode.pm modified +2 −4