Re: Prepared transactions vs novice DBAs, again

Поиск
Список
Период
Сортировка
От Jeff Davis
Тема Re: Prepared transactions vs novice DBAs, again
Дата
Msg-id 1240425787.26999.103.camel@monkey-cat.sm.truviso.com
обсуждение исходный текст
Ответ на Re: Prepared transactions vs novice DBAs, again  ("Joshua D. Drake" <jd@commandprompt.com>)
Ответы Re: Prepared transactions vs novice DBAs, again  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-hackers
On Wed, 2009-04-22 at 11:00 -0700, Joshua D. Drake wrote:
> Then perhaps a setting like max_stale_prepared_transaction_age and once
> that threshold is met it will autorollback?

I think that defeats the safety of prepared transactions in many cases.
Let's say you PREPARE TRANSACTION on two systems, and then COMMIT
PREPARED on the first one. Then, you go to COMMIT PREPARED on the second
one, and the time has lapsed so you can't (and you can't rollback the
first one, either).

Regards,Jeff Davis



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

Предыдущее
От: Heikki Linnakangas
Дата:
Сообщение: Re: Prepared transactions vs novice DBAs, again
Следующее
От: Tom Lane
Дата:
Сообщение: Re: Prepared transactions vs novice DBAs, again