Re: chained transactions
От
Fabien COELHO
Тема
Re: chained transactions
Дата
Msg-id
alpine.DEB.2.21.1812260923330.32444@lancre
Ответ на
Re: chained transactions (Peter Eisentraut)
Список
Дерево обсуждения
chained transactions Peter Eisentraut <peter.eisentraut@2ndquadrant.com>
Re: chained transactions Andres Freund <andres@anarazel.de>
Re: chained transactions Simon Riggs <simon@2ndquadrant.com>
Re: chained transactions Andres Freund <andres@anarazel.de>
Re: chained transactions Alvaro Herrera <alvherre@alvh.no-ip.org>
Re: chained transactions Heikki Linnakangas <hlinnaka@iki.fi>
Re: chained transactions Peter Eisentraut <peter.eisentraut@2ndquadrant.com>
Re: chained transactions Peter Eisentraut <peter.eisentraut@2ndquadrant.com>
Re: chained transactions Peter Eisentraut <peter.eisentraut@2ndquadrant.com>
Re: chained transactions Heikki Linnakangas <hlinnaka@iki.fi>
Re: chained transactions Michael Paquier <michael@paquier.xyz>
Re: chained transactions Peter Eisentraut <peter.eisentraut@2ndquadrant.com>
Re: chained transactions Fabien COELHO <coelho@cri.ensmp.fr>
Re: chained transactions Peter Eisentraut <peter.eisentraut@2ndquadrant.com>
Re: chained transactions Fabien COELHO <coelho@cri.ensmp.fr>
Re: chained transactions Alvaro Herrera <alvherre@2ndquadrant.com>
Re: chained transactions Peter Eisentraut <peter.eisentraut@2ndquadrant.com>
Re: chained transactions Andres Freund <andres@anarazel.de>
Re: chained transactions Peter Eisentraut <peter.eisentraut@2ndquadrant.com>
Re: chained transactions Fabien COELHO <coelho@cri.ensmp.fr>
Re: chained transactions Peter Eisentraut <peter.eisentraut@2ndquadrant.com>
Re: chained transactions Fabien COELHO <coelho@cri.ensmp.fr>
Re: chained transactions Peter Eisentraut <peter.eisentraut@2ndquadrant.com>
Re: chained transactions Fabien COELHO <coelho@cri.ensmp.fr>
Re: chained transactions Fabien COELHO <coelho@cri.ensmp.fr>
Re: chained transactions Peter Eisentraut <peter.eisentraut@2ndquadrant.com>
Re: chained transactions Fabien COELHO <coelho@cri.ensmp.fr>
Re: chained transactions Fabien COELHO <coelho@cri.ensmp.fr>
> Updated patch attached. The previous (v2) patch apparently didn't apply > anymore. Second patch applies cleanly, compiles, "make check" ok. As I do not know much about the SPI stuff, some of the comments below may be very stupid. I'm wary of changing the SPI_commit and SPI_rollback interfaces which are certainly being used outside the source tree and could break countless code, and it seems quite unclean that commit and rollback would do anything else but committing or rollbacking. ISTM that it should be kept as is and only managed from the PL/pgsql exec_stmt_* functions, which have to be adapted anyway. That would minimise changes and not break existing code. If SPI_* functions are modified, which I would advise against, I find keeping the next assignment in the chained case doubtful: _SPI_current->internal_xact = false; -- Fabien.
В списке pgsql-hackers по дате отправления