forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commit231f487
committed
Fix timeouts in PostgresNode::psql
Newer Perl or IPC::Run versions default to appending the filename to stringexceptions, 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@2ndquadrant.com>Reviewed-by: Dagfinn Ilmari Mannsåker <ilmari@ilmari.org>1 parent8f7277d commit231f487
1 file changed
+1
-1
lines changedLines changed: 1 addition & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
1139 | 1139 |
| |
1140 | 1140 |
| |
1141 | 1141 |
| |
1142 |
| - | |
| 1142 | + | |
1143 | 1143 |
| |
1144 | 1144 |
| |
1145 | 1145 |
| |
|
0 commit comments
Comments
(0)