Re: pgsql: Store 2PC GID in commit/abort WAL recs for logical decoding

Поиск
Список
Период
Сортировка
От Nikhil Sontakke
Тема Re: pgsql: Store 2PC GID in commit/abort WAL recs for logical decoding
Дата
Msg-id CAMGcDxeuvV8A4zdX6yaDiiLDUstZGujExDvs8u9ApyAFU0h0ig@mail.gmail.com
обсуждение исходный текст
Ответ на Re: pgsql: Store 2PC GID in commit/abort WAL recs for logicaldecoding  (Alvaro Herrera <alvherre@2ndquadrant.com>)
Список pgsql-hackers
Hi Alvaro,


>> There was a slight oversight in the twophase_gid length calculation in
>> the XactLogCommitRecord() code path in the cf5a1890592 commit. The
>> corresponding XactLogAbortRecord() code path was ok. PFA, a small
>> patch to fix the oversight.
>
> Forgot to add: maybe it would be useful to have tests in core where
> these omissions become evident.  Do you have some?
>
Thanks for the commit.

I do have some tests. They are part of the "logical decoding of 2PC"
patch which adds the needed infrastructure to *actually* use this code
present in the core as of now. I am going to submit it in the upcoming
commitfest.

Regards,
Nikhils
-- 
 Nikhil Sontakke                   http://www.2ndQuadrant.com/
 PostgreSQL Development, 24x7 Support, Training & Services


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

Предыдущее
От: Konstantin Knizhnik
Дата:
Сообщение: Re: WAL prefetch
Следующее
От: Michael Paquier
Дата:
Сообщение: Re: pg_config.h.win32 missing a set of flags from pg_config.h.inadded in v11 development