[BUGS] Concurrent ALTER SEQUENCE RESTART Regression
От
Jason Petersen
Тема
[BUGS] Concurrent ALTER SEQUENCE RESTART Regression
Дата
Msg-id
D992B4C2-8F80-4DE0-8348-6E0696C3F967@citusdata.com
Список
Дерево обсуждения
[BUGS] Concurrent ALTER SEQUENCE RESTART Regression Jason Petersen <jason@citusdata.com>
Re: [BUGS] Concurrent ALTER SEQUENCE RESTART Regression Peter Eisentraut <peter.eisentraut@2ndquadrant.com>
Re: [BUGS] Concurrent ALTER SEQUENCE RESTART Regression Andres Freund <andres@anarazel.de>
Re: [BUGS] Concurrent ALTER SEQUENCE RESTART Regression Peter Eisentraut <peter.eisentraut@2ndquadrant.com>
Re: [BUGS] Concurrent ALTER SEQUENCE RESTART Regression Andres Freund <andres@anarazel.de>
Re: [BUGS] Concurrent ALTER SEQUENCE RESTART Regression Michael Paquier <michael.paquier@gmail.com>
Re: [BUGS] Concurrent ALTER SEQUENCE RESTART Regression Michael Paquier <michael.paquier@gmail.com>
Re: [BUGS] Concurrent ALTER SEQUENCE RESTART Regression Peter Eisentraut <peter.eisentraut@2ndquadrant.com>
Re: [BUGS] Concurrent ALTER SEQUENCE RESTART Regression Michael Paquier <michael.paquier@gmail.com>
Re: [BUGS] Concurrent ALTER SEQUENCE RESTART Regression Peter Eisentraut <peter.eisentraut@2ndquadrant.com>
Re: [BUGS] Concurrent ALTER SEQUENCE RESTART Regression Andres Freund <andres@anarazel.de>
Re: [BUGS] Concurrent ALTER SEQUENCE RESTART Regression Michael Paquier <michael.paquier@gmail.com>
Re: [BUGS] Concurrent ALTER SEQUENCE RESTART Regression Peter Eisentraut <peter.eisentraut@2ndquadrant.com>
Re: [BUGS] Concurrent ALTER SEQUENCE RESTART Regression Andres Freund <andres@anarazel.de>
Re: [BUGS] Concurrent ALTER SEQUENCE RESTART Regression Peter Eisentraut <peter.eisentraut@2ndquadrant.com>
Re: [BUGS] Concurrent ALTER SEQUENCE RESTART Regression Andres Freund <andres@anarazel.de>
Re: [BUGS] Concurrent ALTER SEQUENCE RESTART Regression Peter Eisentraut <peter.eisentraut@2ndquadrant.com>
Re: [BUGS] Concurrent ALTER SEQUENCE RESTART Regression Andres Freund <andres@anarazel.de>
Re: [BUGS] Concurrent ALTER SEQUENCE RESTART Regression Robert Haas <robertmhaas@gmail.com>
Re: [BUGS] Concurrent ALTER SEQUENCE RESTART Regression Andres Freund <andres@anarazel.de>
Re: [BUGS] Concurrent ALTER SEQUENCE RESTART Regression Robert Haas <robertmhaas@gmail.com>
Re: [BUGS] Concurrent ALTER SEQUENCE RESTART Regression Petr Jelinek <petr.jelinek@2ndquadrant.com>
Re: [BUGS] Concurrent ALTER SEQUENCE RESTART Regression Andres Freund <andres@anarazel.de>
Re: [BUGS] Concurrent ALTER SEQUENCE RESTART Regression Petr Jelinek <petr.jelinek@2ndquadrant.com>
Re: [BUGS] Concurrent ALTER SEQUENCE RESTART Regression Michael Paquier <michael.paquier@gmail.com>
Re: [BUGS] Concurrent ALTER SEQUENCE RESTART Regression Peter Eisentraut <peter.eisentraut@2ndquadrant.com>
Re: [BUGS] Concurrent ALTER SEQUENCE RESTART Regression Robert Haas <robertmhaas@gmail.com>
Re: [BUGS] Concurrent ALTER SEQUENCE RESTART Regression Peter Eisentraut <peter.eisentraut@2ndquadrant.com>
Re: [BUGS] Concurrent ALTER SEQUENCE RESTART Regression Andres Freund <andres@anarazel.de>
Re: [BUGS] Concurrent ALTER SEQUENCE RESTART Regression Andres Freund <andres@anarazel.de>
Re: [BUGS] Concurrent ALTER SEQUENCE RESTART Regression Michael Paquier <michael.paquier@gmail.com>
Re: [BUGS] Concurrent ALTER SEQUENCE RESTART Regression Andres Freund <andres@anarazel.de>
Re: [BUGS] Concurrent ALTER SEQUENCE RESTART Regression Michael Paquier <michael.paquier@gmail.com>
Re: [BUGS] Concurrent ALTER SEQUENCE RESTART Regression Noah Misch <noah@leadboat.com>
Re: [BUGS] Concurrent ALTER SEQUENCE RESTART Regression Peter Eisentraut <peter.eisentraut@2ndquadrant.com>
Re: [BUGS] Concurrent ALTER SEQUENCE RESTART Regression Noah Misch <noah@leadboat.com>
Re: [BUGS] Concurrent ALTER SEQUENCE RESTART Regression Noah Misch <noah@leadboat.com>
Re: [BUGS] Concurrent ALTER SEQUENCE RESTART Regression Peter Eisentraut <peter.eisentraut@2ndquadrant.com>
Re: [HACKERS] [BUGS] Concurrent ALTER SEQUENCE RESTART Regression Andres Freund <andres@anarazel.de>
Re: [BUGS] Concurrent ALTER SEQUENCE RESTART Regression Noah Misch <noah@leadboat.com>
Re: [BUGS] Concurrent ALTER SEQUENCE RESTART Regression Andres Freund <andres@anarazel.de>
Re: [BUGS] Concurrent ALTER SEQUENCE RESTART Regression Peter Eisentraut <peter.eisentraut@2ndquadrant.com>
Re: [BUGS] Concurrent ALTER SEQUENCE RESTART Regression Petr Jelinek <petr.jelinek@2ndquadrant.com>
Re: [BUGS] Concurrent ALTER SEQUENCE RESTART Regression Tom Lane <tgl@sss.pgh.pa.us>
Re: [BUGS] Concurrent ALTER SEQUENCE RESTART Regression Andres Freund <andres@anarazel.de>
Re: [HACKERS] [BUGS] Concurrent ALTER SEQUENCE RESTART Regression Tom Lane <tgl@sss.pgh.pa.us>
Re: [HACKERS] [BUGS] Concurrent ALTER SEQUENCE RESTART Regression Peter Eisentraut <peter.eisentraut@2ndquadrant.com>
Re: [HACKERS] [BUGS] Concurrent ALTER SEQUENCE RESTART Regression Andres Freund <andres@anarazel.de>
Re: [HACKERS] [BUGS] Concurrent ALTER SEQUENCE RESTART Regression Peter Eisentraut <peter.eisentraut@2ndquadrant.com>
Re: [HACKERS] [BUGS] Concurrent ALTER SEQUENCE RESTART Regression Peter Eisentraut <peter.eisentraut@2ndquadrant.com>
Re: [HACKERS] [BUGS] Concurrent ALTER SEQUENCE RESTART Regression Andres Freund <andres@anarazel.de>
Re: [HACKERS] [BUGS] Concurrent ALTER SEQUENCE RESTART Regression Tom Lane <tgl@sss.pgh.pa.us>
Re: [HACKERS] [BUGS] Concurrent ALTER SEQUENCE RESTART Regression Tom Lane <tgl@sss.pgh.pa.us>
Re: [HACKERS] [BUGS] Concurrent ALTER SEQUENCE RESTART Regression Tom Lane <tgl@sss.pgh.pa.us>
Re: [HACKERS] [BUGS] Concurrent ALTER SEQUENCE RESTART Regression Andres Freund <andres@anarazel.de>
Re: [HACKERS] [BUGS] Concurrent ALTER SEQUENCE RESTART Regression Tom Lane <tgl@sss.pgh.pa.us>
Re: [HACKERS] [BUGS] Concurrent ALTER SEQUENCE RESTART Regression Peter Eisentraut <peter.eisentraut@2ndquadrant.com>
Re: [BUGS] Concurrent ALTER SEQUENCE RESTART Regression Michael Paquier <michael.paquier@gmail.com>
Re: [BUGS] Concurrent ALTER SEQUENCE RESTART Regression Peter Eisentraut <peter.eisentraut@2ndquadrant.com>
Re: [HACKERS] [BUGS] Concurrent ALTER SEQUENCE RESTART Regression Andres Freund <andres@anarazel.de>
Re: [HACKERS] [BUGS] Concurrent ALTER SEQUENCE RESTART Regression Robert Haas <robertmhaas@gmail.com>
Re: [HACKERS] [BUGS] Concurrent ALTER SEQUENCE RESTART Regression Andres Freund <andres@anarazel.de>
Re: [HACKERS] [BUGS] Concurrent ALTER SEQUENCE RESTART Regression Robert Haas <robertmhaas@gmail.com>
Re: [HACKERS] [BUGS] Concurrent ALTER SEQUENCE RESTART Regression Andres Freund <andres@anarazel.de>
Re: [HACKERS] [BUGS] Concurrent ALTER SEQUENCE RESTART Regression Robert Haas <robertmhaas@gmail.com>
Re: [HACKERS] [BUGS] Concurrent ALTER SEQUENCE RESTART Regression Andres Freund <andres@anarazel.de>
Re: [HACKERS] [BUGS] Concurrent ALTER SEQUENCE RESTART Regression Robert Haas <robertmhaas@gmail.com>
Re: [HACKERS] [BUGS] Concurrent ALTER SEQUENCE RESTART Regression Andres Freund <andres@anarazel.de>
Re: [HACKERS] [BUGS] Concurrent ALTER SEQUENCE RESTART Regression Robert Haas <robertmhaas@gmail.com>
Re: [HACKERS] [BUGS] Concurrent ALTER SEQUENCE RESTART Regression Andres Freund <andres@anarazel.de>
Re: [HACKERS] [BUGS] Concurrent ALTER SEQUENCE RESTART Regression Andres Freund <andres@anarazel.de>
Re: [HACKERS] [BUGS] Concurrent ALTER SEQUENCE RESTART Regression Robert Haas <robertmhaas@gmail.com>
Re: [HACKERS] [BUGS] Concurrent ALTER SEQUENCE RESTART Regression Petr Jelinek <petr.jelinek@2ndquadrant.com>
Re: [HACKERS] [BUGS] Concurrent ALTER SEQUENCE RESTART Regression Andres Freund <andres@anarazel.de>
Re: [BUGS] Concurrent ALTER SEQUENCE RESTART Regression Michael Paquier <michael.paquier@gmail.com>
Re: [BUGS] Concurrent ALTER SEQUENCE RESTART Regression Petr Jelinek <petr.jelinek@2ndquadrant.com>
Re: [BUGS] Concurrent ALTER SEQUENCE RESTART Regression Andres Freund <andres@anarazel.de>
Re: [BUGS] Concurrent ALTER SEQUENCE RESTART Regression Michael Paquier <michael.paquier@gmail.com>
Re: [BUGS] Concurrent ALTER SEQUENCE RESTART Regression Peter Eisentraut <peter.eisentraut@2ndquadrant.com>
Re: [BUGS] Concurrent ALTER SEQUENCE RESTART Regression Michael Paquier <michael.paquier@gmail.com>
Re: [BUGS] Concurrent ALTER SEQUENCE RESTART Regression Robert Haas <robertmhaas@gmail.com>
Re: [BUGS] Concurrent ALTER SEQUENCE RESTART Regression Jason Petersen <jason@citusdata.com>
Re: [BUGS] Concurrent ALTER SEQUENCE RESTART Regression Michael Paquier <michael.paquier@gmail.com>
I recently found a behavior regression for ALTER SEQUENCE. Repro. Steps ============ 1. Create a new sequence: CREATE SEQUENCE my_seq; 2. Start this loop twice in different shells: while true; do psql -1Xtc 'ALTER SEQUENCE my_seq RESTART 1'; done Expected (pre-10) Behavior ========================== Each loop should repeatedly succeed and simply print ALTER SEQUENCE over and over. Actual (PG 10) Behavior ======================= The output stream is punctuated by occasional "ERROR: tuple concurrently updated" messages. Summary ======= While I understand the above workload is nonsensical, given the non-transactional behavior of ALTER SEQUENCE statements, previous PostgreSQL versions did not produce an error. It is likely applications have been coded with that assumption and will not deal well with the new behavior. Having poked around the code a bit, I see the functions to access for sequence state have changed; I’m assuming this is an unintended side-effect of that change. I haven’t worked up a patch myself, but I have some hope someone more familiar with the underlying changes could make quick work of this. -- Jason Petersen Software Engineer | Citus Data 303.736.9255 jason@citusdata.com
В списке pgsql-bugs по дате отправления
От: Manuel Pradal
Дата:
От: cinbau@warpmail.net
Дата: