Re: A transaction in transaction? Possible?
От
Achilleus Mantzios
Тема
Re: A transaction in transaction? Possible?
Дата
Msg-id
Pine.LNX.4.44.0411101756450.7535-100000@matrix.gatewaynet.com
Ответ на
Re: A transaction in transaction? Possible? (Peter Eisentraut)
Список
Дерево обсуждения
Re: A transaction in transaction? Possible? "Andrei Bintintan" <klodoma@ar-sd.net>
O Peter Eisentraut έγραψε στις Nov 10, 2004 : > Achilleus Mantzios wrote: > > Wouldn't make more sense to allow nested begin/commit/rollback > > blocks? > > Possibly. But that consideration would have been more relevant about 6 > years ago when they wrote the SAVEPOINT syntax into the SQL standard. > :) In other words, now with savepoints, BEGIN; COMMIT; ROLLBACK; can be replaced with SAVEPOINT foo; RELEASE foo; ROLLBACK TO foo; respectively. If only transactions weren't a requirement for SAVEPOINTs, what would we then need BEGIN; COMMIT; ROLLBACK; for? > > -- -Achilleus
В списке pgsql-sql по дате отправления