Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1d3YqK-0006Lp-F1 for pgsql-bugs@arkaria.postgresql.org; Thu, 27 Apr 2017 02:07:40 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84_2) (envelope-from ) id 1d3YqK-0007Wk-1v for pgsql-bugs@arkaria.postgresql.org; Thu, 27 Apr 2017 02:07:40 +0000 Received: from makus.postgresql.org ([2001:4800:1501:1::229]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1d3Ypd-0006KJ-PG for pgsql-bugs@postgresql.org; Thu, 27 Apr 2017 02:06:57 +0000 Received: from out4-smtp.messagingengine.com ([66.111.4.28]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1d3Ypb-0002dN-4V for pgsql-bugs@postgresql.org; Thu, 27 Apr 2017 02:06:56 +0000 Received: from compute7.internal (compute7.nyi.internal [10.202.2.47]) by mailout.nyi.internal (Postfix) with ESMTP id 7863E20783; Wed, 26 Apr 2017 22:06:54 -0400 (EDT) Received: from frontend2 ([10.202.2.161]) by compute7.internal (MEProxy); Wed, 26 Apr 2017 22:06:54 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:content-type :date:from:in-reply-to:message-id:mime-version:references :subject:to:x-me-sender:x-me-sender:x-sasl-enc:x-sasl-enc; s= fm1; bh=lAxnYHEiKztgG6QDpGZa0fIUjdqrSxk9vv4EYDg5V+U=; b=Lyc0A55k ggKoBGBvvmLbFC7RA/XURgXLBuPugM04sieUxce48e79qB0IlqNpEXAM+uDamKQj WGh3FKYxfpFqMG7DVfeoByKpUsAXcUM5kLz13uWAk2RMd0A++SS9WBVHA+dHu6su c/Lz1sRyPJWtkz8QbptKI9Yt+MmVK/m32uw6FQ1sHwn3EPc1cSETxbQPMQpvSeQY dozrl2+dRjLOEwACFpuxaRcUXHCpBJ4eKN84foHqLNwhUCJsQ9nNTbzY/SMLEW0P 3tG4dk5H1Y+aGd68MfALIMlv55mA2djDM7T9UKl308wtR5ESyEAhjUlA4DE2OzbI BuY8x+yj7d6XOg== X-ME-Sender: X-Sasl-enc: kc+O+7WonzSN/JWnuDxxTILpwCX89wuFyv/JA/aQhEAm 1493258814 Received: from april.local (c-73-13-66-39.hsd1.pa.comcast.net [73.13.66.39]) by mail.messagingengine.com (Postfix) with ESMTPA id 2D57824765; Wed, 26 Apr 2017 22:06:54 -0400 (EDT) Subject: Re: Concurrent ALTER SEQUENCE RESTART Regression To: Andres Freund References: <16ed823b-44e4-dc51-3da9-a3d66b71ed5c@2ndquadrant.com> <9240bf94-44a8-671a-27bd-500eb868226a@2ndquadrant.com> <20170426174813.slaq6mka7v6xohap@alap3.anarazel.de> <99a009ea-1797-5b82-f3d3-eb4a5a8eb5dc@2ndquadrant.com> <20170427011258.2tpv55b6leqe2uva@alap3.anarazel.de> Cc: Michael Paquier , Jason Petersen , PostgreSQL mailing lists From: Peter Eisentraut Organization: 2ndQuadrant Message-ID: <1e5bb916-fd58-3995-851b-6875c6dd73eb@2ndquadrant.com> Date: Wed, 26 Apr 2017 22:07:03 -0400 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.12; rv:45.0) Gecko/20100101 Thunderbird/45.8.0 MIME-Version: 1.0 In-Reply-To: <20170427011258.2tpv55b6leqe2uva@alap3.anarazel.de> Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 7bit 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 4/26/17 21:12, Andres Freund wrote: > I think it's unacceptable to regress with an error message here. I've > seen sequence DDL being used while concurrent DML was onging in a number > of production use cases, and just starting to error out instead of > properly blocking doesn't seem acceptable to me. It's not clear to me what the use case is here that we are optimizing for. The best solution would depend on that. Running concurrent ALTER SEQUENCE in a tight loop is probably not it. ;-) -- Peter Eisentraut http://www.2ndQuadrant.com/ PostgreSQL Development, 24x7 Support, Remote DBA, 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