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

From Peter Eisentraut
Subject Re: [HACKERS] timeouts in PostgresNode::psql
Date
Msg-id f6d151c9-f081-5ecb-10b1-e92f3d1b1a08@2ndquadrant.com
Whole thread Raw
In response to Re: [HACKERS] timeouts in PostgresNode::psql  (Craig Ringer <craig@2ndquadrant.com>)
Responses Re: [HACKERS] timeouts in PostgresNode::psql  (Craig Ringer <craig@2ndquadrant.com>)
List pgsql-hackers
On 2/26/17 21:28, Craig Ringer wrote:
> 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.

committed to master and 9.6

-- 
Peter Eisentraut              http://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services



pgsql-hackers by date:

Previous
From: Petr Jelinek
Date:
Subject: Re: [HACKERS] Logical replication existing data copy
Next
From: David Fetter
Date:
Subject: Re: [HACKERS] ANALYZE command progress checker