Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1WsT8h-0005GD-Tm for pgsql-bugs@arkaria.postgresql.org; Thu, 05 Jun 2014 08:35:12 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.80) (envelope-from ) id 1WsT8h-0000Bo-9k for pgsql-bugs@arkaria.postgresql.org; Thu, 05 Jun 2014 08:35:11 +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 1WsT8g-0000Bh-As for pgsql-bugs@postgresql.org; Thu, 05 Jun 2014 08:35:10 +0000 Received: from mail.anarazel.de ([217.115.131.40]) by magus.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1WsT8c-0002Wb-Ju for pgsql-bugs@postgresql.org; Thu, 05 Jun 2014 08:35:09 +0000 Received: by mail.anarazel.de (Postfix, from userid 108) id C65B4500001; Thu, 5 Jun 2014 10:35:05 +0200 (CEST) X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on mail X-Spam-Level: X-Spam-Status: No, score=-5.4 required=5.0 tests=ALL_TRUSTED,AWL,BAYES_00 autolearn=ham version=3.2.5 Received: from anarazel.de (p5DDC5CCD.dip0.t-ipconnect.de [93.220.92.205]) (Authenticated sender: andres@anarazel.de) by mail.anarazel.de (Postfix) with ESMTPSA id 76CBF4E8006; Thu, 5 Jun 2014 10:35:02 +0200 (CEST) Received: by anarazel.de (Postfix, from userid 1000) id DD1011005EF; Thu, 5 Jun 2014 10:35:01 +0200 (CEST) Date: Thu, 5 Jun 2014 10:35:01 +0200 From: Andres Freund To: Sandro Santilli Cc: pgsql-bugs@postgresql.org Subject: Re: uninterruptable loop: concurrent delete in progress within table Message-ID: <20140605083501.GC2789@awork2.anarazel.de> References: <20140530143150.GA11051@localhost> <20140604230451.GL785@awork2.anarazel.de> <20140605055856.GA5221@localhost> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20140605055856.GA5221@localhost> X-Pg-Spam-Score: -2.6 (--) 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 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... Greetings, Andres Freund -- Andres Freund http://www.2ndQuadrant.com/ PostgreSQL Development, 24x7 Support, Training & Services -- Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-bugs