Re: Fix logical decoding not track transaction duringSNAPBUILD_BUILDING_SNAPSHOT - Mailing list pgsql-hackers

From cca5507
Subject Re: Fix logical decoding not track transaction duringSNAPBUILD_BUILDING_SNAPSHOT
Date
Msg-id tencent_AFF4B0D0A1F63DC5452606EFE740DB4E3705@qq.com
Whole thread Raw
In response to Fix logical decoding not track transaction during SNAPBUILD_BUILDING_SNAPSHOT  (ocean_li_996 <ocean_li_996@163.com>)
Responses Re: Fix logical decoding not track transaction duringSNAPBUILD_BUILDING_SNAPSHOT
List pgsql-hackers
Hi Haiyang,

Thank you for your summary.

One important thing is that we must not skip any call to ReorderBufferXidSetCatalogChanges() (direct or indirect)
duringfast-forwarding or building snapshot, because the historic snapshot only tracks txns with catalog changes, the
v6-0004seems to skip it in xact_decode(). 

Here is a related bug:

https://www.postgresql.org/message-id/flat/tencent_3A071B760AA1A38540B57F297332B7781C08%40qq.com

--
Regards,
ChangAo Chen

pgsql-hackers by date:

Previous
From: Pavel Stehule
Date:
Subject: Re: proposal: plpgsql, new check for extra_errors - strict_expr_check
Next
From: Boris Mironov
Date:
Subject: Re: Idea to enhance pgbench by more modes to generate data (multi-TXNs, UNNEST, COPY BINARY)