Reset snapshot export state on the transaction abort

Поиск
Список
Период
Сортировка
От Dilip Kumar
Тема Reset snapshot export state on the transaction abort
Дата
Msg-id CAFiTN-s0zA1Kj0ozGHwkYkHwa5U0zUE94RSc_g81WrpcETB5=w@mail.gmail.com
обсуждение исходный текст
Ответы Re: Reset snapshot export state on the transaction abort  (Michael Paquier <michael@paquier.xyz>)
Список pgsql-hackers
As reported at [1], if the transaction is aborted during export
snapshot then ExportInProgress and SavedResourceOwnerDuringExport are
not getting reset and that is throwing an error
"clearing exported snapshot in wrong transaction state" while
executing the next command.  The attached patch clears this state if
the transaction is aborted.

[1] https://www.postgresql.org/message-id/CAFiTN-tqopqpfS6HHug2nnOGieJJ_nm-Nvy0WBZ=Zpo-LqtSJA@mail.gmail.com

-- 
Regards,
Dilip Kumar
EnterpriseDB: http://www.enterprisedb.com

Вложения

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

Предыдущее
От: Isaac Morland
Дата:
Сообщение: Re: Proposal: allow database-specific role memberships
Следующее
От: Fujii Masao
Дата:
Сообщение: Re: Inconsistency in startup process's MyBackendId and procsignal array registration with ProcSignalInit()