Re: [HACKERS] Concurrent ALTER SEQUENCE RESTART Regression

2017-05-07 Thread Michael Paquier
On Mon, May 8, 2017 at 8:43 AM, Andres Freund wrote: > Moving discussion to -hackers, this isn't really a bug, it's an > architectural issue with the new in-tree approach. > > Short recap: With the patch applied in [1] ff, sequences partially > behave transactional (because pg_sequence is updated

Re: [HACKERS] Concurrent ALTER SEQUENCE RESTART Regression

2017-05-07 Thread Andres Freund
Hi, Moving discussion to -hackers, this isn't really a bug, it's an architectural issue with the new in-tree approach. Short recap: With the patch applied in [1] ff, sequences partially behave transactional (because pg_sequence is updated transactionally), partially non-transctionally (because th

Re: [HACKERS] Concurrent ALTER SEQUENCE RESTART Regression

2017-04-30 Thread Noah Misch
On Fri, Apr 28, 2017 at 04:55:45PM +0900, Michael Paquier wrote: > On Thu, Apr 27, 2017 at 4:10 PM, Andres Freund wrote: > > On April 27, 2017 12:06:55 AM PDT, Michael Paquier > > wrote: > >>On Thu, Apr 27, 2017 at 3:23 PM, Andres Freund > >>wrote: > >>> More fun: > >>> > >>> A: CREATE SEQUENCE