pg.ddx.io  pgsql-bugs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Sandro Santilli <strk@keybit.net>
To: Pedro Gimeno <pgsql-004@personal.formauri.es>
Cc: Tom Lane <tgl@sss.pgh.pa.us>
Cc: pgsql-bugs@postgresql.org
Subject: Re: uninterruptable regexp_replace in 9.2 and 9.3
Date: Mon, 3 Mar 2014 09:31:09 +0100
Message-ID: <20140303083109.GA6588@localhost> (raw)
In-Reply-To: <53132D11.2010305@personal.formauri.es>
References: <20140228112858.GE5011@localhost>
	<5310925B.8010809@personal.formauri.es>
	<17158.1393735118@sss.pgh.pa.us>
	<53132D11.2010305@personal.formauri.es>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-bugs>

On Sun, Mar 02, 2014 at 02:07:29PM +0100, Pedro Gimeno wrote:
> Tom Lane wrote, On 2014-03-02 05:38:
> 
> > The performance problem we're looking at comes directly from the
> > backtracking that's done to ensure that we detect a match in case the
> > pattern has this sort of pathological behavior.
> 
> It is my understanding that the bug reported by the OP is not a
> performance problem, but PostgreSQL's failure to interrupt the
> processing if it takes too long, when statement_timeout is set.

Yes, this is my main concern.
Of course it'd be nice to get a faster response, even if ill, but
as long as statement_timeout is effective I'm happy.

--strk;

 ()  ASCII ribbon campaign  --  Keep it simple !
 /\  http://strk.keybit.net/rants/ascii_mails.txt  


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



view thread (5+ messages)

Message-ID: <20140303083109.GA6588@localhost>
Permalink:  ../20140303083109.GA6588@localhost/
Also on:    postgresql.org/message-id/20140303083109.GA6588@localhost

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-bugs@postgresql.org
  Cc: strk@keybit.net, pgsql-004@personal.formauri.es, tgl@sss.pgh.pa.us
  Subject: Re: uninterruptable regexp_replace in 9.2 and 9.3
  In-Reply-To: <20140303083109.GA6588@localhost>
  References: <20140228112858.GE5011@localhost> <5310925B.8010809@personal.formauri.es> <17158.1393735118@sss.pgh.pa.us> <53132D11.2010305@personal.formauri.es> <20140303083109.GA6588@localhost>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox