Re: [HACKERS] logical decoding of two-phase transactions

Поиск
Список
Период
Сортировка
От Amit Kapila
Тема Re: [HACKERS] logical decoding of two-phase transactions
Дата
Msg-id CAA4eK1JC_6u_Yo2+o814N2XYYvLHCF+=b9YTkt-tVbrCKm4p4Q@mail.gmail.com
обсуждение исходный текст
Ответ на Re: [HACKERS] logical decoding of two-phase transactions  (Ajin Cherian <itsajin@gmail.com>)
Список pgsql-hackers
On Thu, Dec 17, 2020 at 9:30 AM Ajin Cherian <itsajin@gmail.com> wrote:
>
> On Thu, Dec 17, 2020 at 2:41 PM Amit Kapila <amit.kapila16@gmail.com> wrote:
>
> > On again thinking about this, I think it is good to disable it during
> > slot initialization but will it create any problem because during slot
> > initialization we don't stream any xact and stop processing WAL as
> > soon as we reach CONSISTENT_STATE? Did you observe any problem with
> > this?
> >
> Yes, it did not stream any xact during initialization but I was
> surprised that the DecodePrepare code was invoked even though
> I hadn't created the subscription with twophase enabled. No problem
> was observed.
>

Fair enough, I have fixed this in the patch-series posted sometime back.

-- 
With Regards,
Amit Kapila.



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

Предыдущее
От: Amit Kapila
Дата:
Сообщение: Re: [HACKERS] logical decoding of two-phase transactions
Следующее
От: Konstantin Knizhnik
Дата:
Сообщение: Re: On login trigger: take three