Re: [HACKERS] Concurrent ALTER SEQUENCE RESTART Regression

From: Robert Haas <robertmhaas(at)gmail(dot)com>
To: Andres Freund <andres(at)anarazel(dot)de>
Cc: Peter Eisentraut <peter(dot)eisentraut(at)2ndquadrant(dot)com>, "pgsql-hackers(at)postgresql(dot)org" <pgsql-hackers(at)postgresql(dot)org>, Michael Paquier <michael(dot)paquier(at)gmail(dot)com>, Noah Misch <noah(at)leadboat(dot)com>, Jason Petersen <jason(at)citusdata(dot)com>, PostgreSQL mailing lists <pgsql-bugs(at)postgresql(dot)org>
Subject: Re: [HACKERS] Concurrent ALTER SEQUENCE RESTART Regression
Date: 2017-06-01 14:51:10
Message-ID: CA+TgmobnrAayDt9JZMM3EL+zWZQ8_=LOnTBjL0vRzLHq2NSZpA@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs pgsql-hackers

On Wed, May 31, 2017 at 8:07 PM, Andres Freund <andres(at)anarazel(dot)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.

--
Robert Haas
EnterpriseDB: http://www.enterprisedb.com
The Enterprise PostgreSQL Company

In response to

Responses

Browse pgsql-bugs by date

  From Date Subject
Next Message Tom Lane 2017-06-01 16:22:53 Re: BUG #14676: neqsel is NULL dumb
Previous Message Tom Lane 2017-06-01 13:45:24 Re: BUG #14681: Erroneous modulo (%) result

Browse pgsql-hackers by date

  From Date Subject
Next Message Robert Haas 2017-06-01 14:54:30 Re: <> join selectivity estimate question
Previous Message Shubham Barai 2017-06-01 14:31:12 Re: GSoC 2017 : Proposal for predicate locking in gist index