Re: [HACKERS] timeouts in PostgresNode::psql - Mailing list pgsql-hackers

From Craig Ringer
Subject Re: [HACKERS] timeouts in PostgresNode::psql
Date
Msg-id CAMsr+YFLjfOodfK2brZjPpp5-6Tin=PazV-DngN7+qqC_UhRPA@mail.gmail.com
Whole thread Raw
In response to [HACKERS] timeouts in PostgresNode::psql  (Craig Ringer <craig@2ndquadrant.com>)
Responses Re: [HACKERS] timeouts in PostgresNode::psql  (Michael Paquier <michael.paquier@gmail.com>)
Re: [HACKERS] timeouts in PostgresNode::psql  (Peter Eisentraut <peter.eisentraut@2ndquadrant.com>)
List 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.

-- 
Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-hackers

Attachment

pgsql-hackers by date:

Previous
From: Thomas Munro
Date:
Subject: Re: [HACKERS] SerializedSnapshotData alignment
Next
From: Amit Kapila
Date:
Subject: Re: [HACKERS] Instability in select_parallel regression test