Re: chained transactions
От
Peter Eisentraut
Тема
Re: chained transactions
Дата
Msg-id
05b14a9b-c2bb-aadb-e5f7-c53c2913c1cc@2ndquadrant.com
Ответ на
Re: chained transactions (Fabien COELHO)
Список
Дерево обсуждения
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. I have squashed the two previously separate patches together in this one. On 2019-01-06 15:14, Fabien COELHO wrote: > I do not understand the value of the SAVEPOINT in the tests. The purpose of the SAVEPOINT in the test is because it exercises different switch cases in CommitTransactionCommand() and AbortCurrentTransaction(). It's not entirely comprehensible from the outside, but code coverage analysis confirms it. > Otherwise I'm okay with this patch. > > About the second patch, I'm still unhappy with functions named commit & > rollback doing something else, which result in somehow strange code, where > you have to guess that the transaction is restarted in all cases, either > within the commit function or explicitely. I have updated the SPI interface with your suggestions. I agree it's better that way. -- Peter Eisentraut http://www.2ndQuadrant.com/ PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services
В списке pgsql-hackers по дате отправления
От: Kyotaro HORIGUCHI
Дата: