pg.ddx.io  pgsql-bugs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Petr Jelinek <petr.jelinek@2ndquadrant.com>
To: Robert Haas <robertmhaas@gmail.com>
To: Andres Freund <andres@anarazel.de>
Cc: Peter Eisentraut <peter.eisentraut@2ndquadrant.com>
Cc: pgsql-hackers@postgresql.org <pgsql-hackers@postgresql.org>
Cc: Michael Paquier <michael.paquier@gmail.com>
Cc: Noah Misch <noah@leadboat.com>
Cc: Jason Petersen <jason@citusdata.com>
Cc: PostgreSQL mailing lists <pgsql-bugs@postgresql.org>
Subject: Re: [BUGS] Concurrent ALTER SEQUENCE RESTART Regression
Date: Thu, 1 Jun 2017 19:08:33 +0200
Message-ID: <7345e39f-982a-130f-91a4-3d487e5de08c@2ndquadrant.com> (raw)
In-Reply-To: <CA+TgmobnrAayDt9JZMM3EL+zWZQ8_=LOnTBjL0vRzLHq2NSZpA@mail.gmail.com>
References: <CA+TgmoadW_JQRSCn4qCQE1FsD+FNwzW+_cLdHDnMf6Qk+S1XiQ@mail.gmail.com>
	<20170522154227.nvafbsm62sjpbxvd@alap3.anarazel.de>
	<CA+TgmoYQHukyVADmRoWKA1KPzgduXVTbkywCtuQQjnVPCyh+Cg@mail.gmail.com>
	<20170524032516.rsggec2yrd4cqvv2@alap3.anarazel.de>
	<CA+TgmoZWmxkg1BC637-yY=OOyTLd00ADTfXY30YudXCtjcYBKA@mail.gmail.com>
	<54DD1674-B9FC-4723-AC3E-890373889E25@anarazel.de>
	<CA+TgmoYQ_RAJbyupefJsg2W2P4vjKfCuLHyuqOuX_54SNCA9DQ@mail.gmail.com>
	<20170524143239.2dzn3hq3k5wt6shf@alap3.anarazel.de>
	<CA+TgmoaigU_uAw6uP+Jp8w9YumKiZjXETEGBE4KWOhgJ5RC+gA@mail.gmail.com>
	<20170531212438.rup2qyphp3ig4mvs@alap3.anarazel.de>
	<20170601000716.qxg7c46ukkiljjb3@alap3.anarazel.de>
	<CA+TgmobnrAayDt9JZMM3EL+zWZQ8_=LOnTBjL0vRzLHq2NSZpA@mail.gmail.com>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-hackers>

On 01/06/17 16:51, Robert Haas wrote:
> On Wed, May 31, 2017 at 8:07 PM, Andres Freund <andres@anarazel.de> wrote:
>> Here's a patch doing what I suggested above.  The second patch addresses
>> an independent oversight where the post alter hook was invoked before
>> doing the catalog update.
> 
> 0002 is a slam-dunk.  I don't object to 0001 but haven't reviewed it carefully.
> 

I did go over the code (ie didn't do actual testing), and I like it much
better than the current state. Both in terms of making the behavior more
consistent and the fact that the code is simpler.

So +1 to go ahead with both patches.

-- 
  Petr Jelinek                  http://www.2ndQuadrant.com/
  PostgreSQL Development, 24x7 Support, Training & Services


-- 
Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-hackers



view thread (84+ messages)  latest in thread

Message-ID: <7345e39f-982a-130f-91a4-3d487e5de08c@2ndquadrant.com>
Permalink:  ../7345e39f-982a-130f-91a4-3d487e5de08c@2ndquadrant.com/
Also on:    postgresql.org/message-id/7345e39f-982a-130f-91a4-3d487e5de08c@2ndquadrant.com

 · 

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: petr.jelinek@2ndquadrant.com, robertmhaas@gmail.com, andres@anarazel.de, peter.eisentraut@2ndquadrant.com, pgsql-hackers@postgresql.org, michael.paquier@gmail.com, noah@leadboat.com, jason@citusdata.com
  Subject: Re: [BUGS] Concurrent ALTER SEQUENCE RESTART Regression
  In-Reply-To: <7345e39f-982a-130f-91a4-3d487e5de08c@2ndquadrant.com>
  References: <CA+TgmoadW_JQRSCn4qCQE1FsD+FNwzW+_cLdHDnMf6Qk+S1XiQ@mail.gmail.com> <20170522154227.nvafbsm62sjpbxvd@alap3.anarazel.de> <CA+TgmoYQHukyVADmRoWKA1KPzgduXVTbkywCtuQQjnVPCyh+Cg@mail.gmail.com> <20170524032516.rsggec2yrd4cqvv2@alap3.anarazel.de> <CA+TgmoZWmxkg1BC637-yY=OOyTLd00ADTfXY30YudXCtjcYBKA@mail.gmail.com> <54DD1674-B9FC-4723-AC3E-890373889E25@anarazel.de> <CA+TgmoYQ_RAJbyupefJsg2W2P4vjKfCuLHyuqOuX_54SNCA9DQ@mail.gmail.com> <20170524143239.2dzn3hq3k5wt6shf@alap3.anarazel.de> <CA+TgmoaigU_uAw6uP+Jp8w9YumKiZjXETEGBE4KWOhgJ5RC+gA@mail.gmail.com> <20170531212438.rup2qyphp3ig4mvs@alap3.anarazel.de> <20170601000716.qxg7c46ukkiljjb3@alap3.anarazel.de> <CA+TgmobnrAayDt9JZMM3EL+zWZQ8_=LOnTBjL0vRzLHq2NSZpA@mail.gmail.com> <7345e39f-982a-130f-91a4-3d487e5de08c@2ndquadrant.com>

* 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