Re: logical replication empty transactions
Ajin Cherian <itsajin@gmail.com>
From: Ajin Cherian <itsajin@gmail.com>
To: Peter Smith <smithpb2250@gmail.com>
Cc: "osumi.takamichi@fujitsu.com" <osumi.takamichi@fujitsu.com>,
vignesh C <vignesh21@gmail.com>, Michael Paquier <michael@paquier.xyz>,
Rahila Syed <rahila.syed@2ndquadrant.com>, Euler Taveira <euler@timbira.com.br>, Amit Kapila <amit.kapila16@gmail.com>, Dilip Kumar <dilipbalaut@gmail.com>, Jeff Janes <jeff.janes@gmail.com>, pgsql-hackers <pgsql-hackers@postgresql.org>,
Craig Ringer <craig@2ndquadrant.com>
Date: 2021-07-23T10:09:33Z
Lists: pgsql-hackers
Attachments
- v11-0001-Skip-empty-transactions-for-logical-replication.patch (application/octet-stream) patch v11-0001
On Fri, Jul 23, 2021 at 7:38 PM Peter Smith <smithpb2250@gmail.com> wrote: > > I have reviewed the v10 patch. > > Apply / build / test was all OK. > > Just one review comment: > > ////////// > > 1. Typo > > @@ -130,6 +132,17 @@ typedef struct RelationSyncEntry > TupleConversionMap *map; > } RelationSyncEntry; > > +/* > + * Maintain a per-transaction level variable to track whether the > + * transaction has sent BEGIN or BEGIN PREPARE. BEGIN or BEGIN PREPARE > + * is only sent when the first change in a transaction is processed. > + * This make it possible to skip transactions that are empty. > + */ > > => > > typo: "make it possible" --> "makes it possible" > fixed. regards, Ajin Cherian Fujitsu Australia
Commits
-
Skip empty transactions for logical replication.
- d5a9d86d8ffc 15.0 landed
-
Add decoding of sequences to built-in replication
- 75b1521dae1f 15.0 cited
-
Allow specifying row filters for logical replication of tables.
- 52e4f0cd472d 15.0 cited