Re: SI messages sent when excuting ROLLBACK PREPARED command

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: SI messages sent when excuting ROLLBACK PREPARED command
Дата
Msg-id 3520606.1626284171@sss.pgh.pa.us
обсуждение исходный текст
Ответ на SI messages sent when excuting ROLLBACK PREPARED command  ("liuhuailing@fujitsu.com" <liuhuailing@fujitsu.com>)
Ответы RE: SI messages sent when excuting ROLLBACK PREPARED command
Список pgsql-hackers
"liuhuailing@fujitsu.com" <liuhuailing@fujitsu.com> writes:
> So, I think we needn't send SI messags when rollbacking the two-phase transaction.
> Or Does it has something special because of two-phase transaction?

Hmmm, yeah, I think you're right.  It probably doesn't make a big
difference in the real world --- anyone who's dependent on the
performance of 2PC rollbaxks is Doing It Wrong.  But we'd have
already done LocalExecuteInvalidationMessage when getting out of
the prepared transaction, so no other SI invals should be needed.

            regards, tom lane



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

Предыдущее
От: "Euler Taveira"
Дата:
Сообщение: Re: row filtering for logical replication
Следующее
От: Ranier Vilela
Дата:
Сообщение: Re: [PATCH] Use optimized single-datum tuplesort in ExecSort