Re: Concurrent ALTER SEQUENCE RESTART Regression
Michael Paquier <michael.paquier@gmail.com>
From: Michael Paquier <michael.paquier@gmail.com>
To: Jason Petersen <jason@citusdata.com>
Cc: PostgreSQL mailing lists <pgsql-bugs@postgresql.org>,
Peter Eisentraut <peter_e@gmx.net>
Date: 2017-04-25T05:43:58Z
Lists: pgsql-bugs, pgsql-hackers
On Tue, Apr 25, 2017 at 2:18 PM, Jason Petersen <jason@citusdata.com> wrote: > FWIW that was my gut read as well; take a slightly more restrictive lock, > possibly blocking other ALTERs (unsure of prior behavior) to avoid ERROR but > not at the cost of blocking readers. This seems about right to me. > > Haven't reported a bug before; what's next? Get a reviewer? We have done everything that can be done, and for sure more review is welcome. I have added an open item here: https://wiki.postgresql.org/index.php?title=PostgreSQL_10_Open_Items And that's a commit of Peter, who is also the author, now in CC, which is causing the regression. -- Michael
Commits
-
Make ALTER SEQUENCE, including RESTART, fully transactional.
- 3d79013b970d 10.0 landed
-
Modify sequence catalog tuple before invoking post alter hook.
- 665104557fdc 10.0 landed
-
Use weaker locks when updating pg_subscription_rel
- 521fd4795e3e 10.0 cited
-
Add pg_sequence system catalog
- 1753b1b02703 10.0 cited
-
Modify sequence state storage to eliminate dangling-pointer problem
- a2597ef17958 7.3.1 cited