pg.ddx.io  pgsql-bugs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Sandro Santilli <strk@keybit.net>
To: Andres Freund <andres@2ndquadrant.com>
Cc: pgsql-bugs@postgresql.org
Subject: Re: uninterruptable loop: concurrent delete in progress within table
Date: Thu, 5 Jun 2014 07:58:56 +0200
Message-ID: <20140605055856.GA5221@localhost> (raw)
In-Reply-To: <20140604230451.GL785@awork2.anarazel.de>
References: <20140530143150.GA11051@localhost>
	<20140604230451.GL785@awork2.anarazel.de>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-bugs>

On Thu, Jun 05, 2014 at 01:04:51AM +0200, Andres Freund wrote:
> Hi Sandro,
> 
> On 2014-05-30 16:31:50 +0200, Sandro Santilli wrote:
> > The attached script shows a plpgsql function that enters
> > an infinite loop which is not interrupted by statement_timeout.
> 
> Pushed a fix. Thanks for the report!

Thanks, will test asap.

BTW, I noticed the commit contained no testcase, would it be safer
to include one ? The smallest test I got to (not requiring PostGIS)
is here: http://strk.keybit.net/tmp/crash.sql


--strk;


-- 
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 (28+ messages)  latest in thread

Message-ID: <20140605055856.GA5221@localhost>
Permalink:  ../20140605055856.GA5221@localhost/
Also on:    postgresql.org/message-id/20140605055856.GA5221@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, andres@2ndquadrant.com
  Subject: Re: uninterruptable loop: concurrent delete in progress within table
  In-Reply-To: <20140605055856.GA5221@localhost>
  References: <20140530143150.GA11051@localhost> <20140604230451.GL785@awork2.anarazel.de> <20140605055856.GA5221@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