pgsql: Fix timeouts in PostgresNode::psql

From: Peter Eisentraut <peter_e(at)gmx(dot)net>
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Fix timeouts in PostgresNode::psql
Date: 2017-03-01 19:19:08
Message-ID: E1cj9mG-0005Sq-VA@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Fix timeouts in PostgresNode::psql

Newer Perl or IPC::Run versions default to appending the filename to string
exceptions, e.g. the exception

psql timed out

is thrown as

psql timed out at /usr/share/perl5/vendor_perl/IPC/Run.pm line 2961.

To handle this, match exceptions with !~ rather than ne.

From: Craig Ringer <craig(at)2ndquadrant(dot)com>
Reviewed-by: Dagfinn Ilmari Mannsåker <ilmari(at)ilmari(dot)org>

Branch
------
REL9_6_STABLE

Details
-------
http://git.postgresql.org/pg/commitdiff/3a1a422fa57a193f5dda93ea1b7941fdac42ac96

Modified Files
--------------
src/test/perl/PostgresNode.pm | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Alvaro Herrera 2017-03-01 22:28:48 pgsql: Create <sect3> in the functions-xml section
Previous Message Andres Freund 2017-03-01 18:20:10 pgsql: Fix s/ITERTOR/ITERATOR/ typo in simplehash.h.