| 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-0005Sp-V6@gemulon.postgresql.org |
| Views: | Whole Thread | Raw Message | 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
------
master
Details
-------
http://git.postgresql.org/pg/commitdiff/231f48796bcf2976f19122b8c6e12f50b463f94e
Modified Files
--------------
src/test/perl/PostgresNode.pm | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
| 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. |