Re: Nested transactions

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Nested transactions
Дата
Msg-id 21670.1087576372@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: Nested transactions  (Bruce Momjian <pgman@candle.pha.pa.us>)
Список pgsql-patches
Bruce Momjian <pgman@candle.pha.pa.us> writes:
> Did I make a mistake by promoting subtransactions rather than
> savepoints?

No.  We can implement savepoints on top of subtransactions, but not
vice versa.  AFAICS the savepoint syntax is just a shorthand for
a constrained form of subtransaction --- essentially one where you
can't explicitly commit a subtransaction, it's implicitly committed
when you commit the parent.  I don't see anything but syntactic
sugar here ...

            regards, tom lane

В списке pgsql-patches по дате отправления:

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: Nested transactions
Следующее
От: Bruce Momjian
Дата:
Сообщение: Re: Tablespace patch review