Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1WsTB1-0005N6-TW for pgsql-bugs@arkaria.postgresql.org; Thu, 05 Jun 2014 08:37:36 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.80) (envelope-from ) id 1WsTB1-0000v3-7o for pgsql-bugs@arkaria.postgresql.org; Thu, 05 Jun 2014 08:37:35 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.2:DHE_RSA_AES_256_CBC_SHA256:256) (Exim 4.80) (envelope-from ) id 1WsTB0-0000ux-KQ for pgsql-bugs@postgresql.org; Thu, 05 Jun 2014 08:37:34 +0000 Received: from mail-wi0-x236.google.com ([2a00:1450:400c:c05::236]) by magus.postgresql.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:256) (Exim 4.80) (envelope-from ) id 1WsTAw-0002b8-UR for pgsql-bugs@postgresql.org; Thu, 05 Jun 2014 08:37:33 +0000 Received: by mail-wi0-f182.google.com with SMTP id r20so2954669wiv.9 for ; Thu, 05 Jun 2014 01:37:28 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=sender:date:from:to:cc:subject:message-id:references:mime-version :content-type:content-disposition:in-reply-to:user-agent; bh=l0nZZM9FVc68Q8a84JRFWZUP9S78vWcl3fEWj69nQ8w=; b=hJn4AGQmSEm2LL5d8bN3kn0Z1NmzkR3vAtiyi191lPLOGr5fOPRdXhv5Nx1h3qVZTm I1mpzTqmbRE9jpBRZjiO4zOt+hG1l40bO9qSvym5ldedwLKFbG7y21mS2Ju8HvOG8/Yq UQTP3g2i/LRNJ3DbijkF89+tVxyYojqdn4hQYUZGjutWV7tcZRJCwT2x7A1zU27xy1V9 mm3GLIrIDbjxi6HQtmzEw10pKTTWJyutCK2JY0f/wTaR3Hq4+YCwSON6pzS1NjDJdt34 VjZwFQ0SBNyXrixDzOUpHWfhh/BtFquPgLS+L/c+s9/DWEANN27KFFCtrvQj31f1YaNf 1Nsw== X-Received: by 10.15.56.65 with SMTP id x41mr218867eew.13.1401957448316; Thu, 05 Jun 2014 01:37:28 -0700 (PDT) Received: from localhost (ip-46-232-148-34.static.adsl.cheapnet.it. [46.232.148.34]) by mx.google.com with ESMTPSA id l41sm12744729eew.8.2014.06.05.01.37.26 for (version=TLSv1.2 cipher=RC4-SHA bits=128/128); Thu, 05 Jun 2014 01:37:27 -0700 (PDT) Date: Thu, 5 Jun 2014 10:37:24 +0200 From: Sandro Santilli To: Andres Freund Cc: pgsql-bugs@postgresql.org Subject: Re: uninterruptable loop: concurrent delete in progress within table Message-ID: <20140605083724.GD11147@localhost> References: <20140530143150.GA11051@localhost> <20140604230451.GL785@awork2.anarazel.de> <20140605055856.GA5221@localhost> <20140605083501.GC2789@awork2.anarazel.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20140605083501.GC2789@awork2.anarazel.de> User-Agent: Mutt/1.5.21 (2010-09-15) X-Pg-Spam-Score: -1.9 (-) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-bugs Precedence: bulk Sender: pgsql-bugs-owner@postgresql.org On Thu, Jun 05, 2014 at 10:35:01AM +0200, Andres Freund wrote: > On 2014-06-05 07:58:56 +0200, Sandro Santilli wrote: > > 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 ? > > I have a separate commit with a testcase prepared. We're currently > discussing about some infrastructure that would make it more precise... Great, thanks again to everyone involved in this fix! --strk; -- Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-bugs