Re: PREPARE TRANSACTION and webapps

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: PREPARE TRANSACTION and webapps
Дата
Msg-id 1480.1132115245@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: PREPARE TRANSACTION and webapps  (Lincoln Yeoh <lyeoh@pop.jaring.my>)
Ответы Re: PREPARE TRANSACTION and webapps  (Greg Stark <gsstark@mit.edu>)
Re: PREPARE TRANSACTION and webapps  (Lincoln Yeoh <lyeoh@pop.jaring.my>)
Список pgsql-general
Lincoln Yeoh <lyeoh@pop.jaring.my> writes:
> Can we have a reconnect and "reopen prepared/saved transactions" feature?
> Please? :)

No.  A prepared transaction has already run its end-of-transaction
operations, eg at-commit triggers.  Reopening it would be a fundamental
semantics violation.

That said, it seems to me that the prepared-xacts infrastructure could
possibly support a separate "suspend transaction" and "resume
transaction" facility, if anyone wants to do the legwork to make it
happen.  What this would actually be useful for is a fair question
though --- what's it do that you don't have now?

            regards, tom lane

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

Предыдущее
От: Justin Hawkins
Дата:
Сообщение: Trouble with recursive trigger
Следующее
От: Greg Stark
Дата:
Сообщение: Re: PREPARE TRANSACTION and webapps