Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1WsQhi-0007ek-Ct for pgsql-bugs@arkaria.postgresql.org; Thu, 05 Jun 2014 05:59:10 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.80) (envelope-from ) id 1WsQhh-0007l7-KW for pgsql-bugs@arkaria.postgresql.org; Thu, 05 Jun 2014 05:59:09 +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 1WsQhg-0007jL-Ho for pgsql-bugs@postgresql.org; Thu, 05 Jun 2014 05:59:08 +0000 Received: from mail-we0-x230.google.com ([2a00:1450:400c:c03::230]) by magus.postgresql.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:256) (Exim 4.80) (envelope-from ) id 1WsQhc-00087g-3v for pgsql-bugs@postgresql.org; Thu, 05 Jun 2014 05:59:07 +0000 Received: by mail-we0-f176.google.com with SMTP id q59so474271wes.7 for ; Wed, 04 Jun 2014 22:59:00 -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=UCFK66O4BpgvqnwGRWT7Zb8kgj+CivXVsAajNjp6ITo=; b=SNCBI0z8ZKWt500azCjc0r8xRj1ZJ3xdfuYuIaf4ja4MctfX4pqfFsSx3osyh0KiKl 4CnK+b1a8fSQZ8vtfwz+uwDLV0Kr3AQWhzBRkI+eivvGyfSNv2kKtwjSNDDr9L78vD7U TLwUJUeu8ypm1yC5zKl0TSCZNvCeAgr0myvoGkX017i5e44nDJhOSzbEYdMD96Dwm64/ +g3UxlAG6VdXjHJrwGbjNmdu2TDpf0tk7e1Lkf9JkEqWQ3wR+jLlDip+UbKybNOSomhG ofQ9plONH6aMqPh+McdgBV+lG9hu6V+MYmzlkCBdVRa0/S5mI7Uonps5BcWIzTZoalBi tZjQ== X-Received: by 10.15.36.8 with SMTP id h8mr6902036eev.12.1401947940801; Wed, 04 Jun 2014 22:59:00 -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 t2sm11743909eeo.18.2014.06.04.22.58.59 for (version=TLSv1.2 cipher=RC4-SHA bits=128/128); Wed, 04 Jun 2014 22:58:59 -0700 (PDT) Date: Thu, 5 Jun 2014 07:58:56 +0200 From: Sandro Santilli To: Andres Freund Cc: pgsql-bugs@postgresql.org Subject: Re: uninterruptable loop: concurrent delete in progress within table Message-ID: <20140605055856.GA5221@localhost> References: <20140530143150.GA11051@localhost> <20140604230451.GL785@awork2.anarazel.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20140604230451.GL785@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 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