Re: timeouts in PostgresNode::psql

From: Craig Ringer <craig(at)2ndquadrant(dot)com>
To: PostgreSQL Hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: timeouts in PostgresNode::psql
Date: 2017-02-27 02:28:08
Message-ID: CAMsr+YFLjfOodfK2brZjPpp5-6Tin=PazV-DngN7+qqC_UhRPA@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Amended patch attached after a few Perl-related comments I got on
private mail. Instead of

$exc_save !~ /^$timeout_exception.*/

I've updated to:

$exc_save !~ /^\Q$timeout_exception\E/

i.e. don't do an unnecessary wildcard match at the end, and disable
metachar interpretation in the substituted range.

Still needs applying to pg9.6 and pg10.

Attachment Content-Type Size
0001-Fix-timeouts-in-PostgresNode-psql.patch text/x-patch 1.1 KB

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Amit Kapila 2017-02-27 02:37:41 Re: Instability in select_parallel regression test
Previous Message Thomas Munro 2017-02-27 02:08:35 Re: SerializedSnapshotData alignment