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-23T05:42:09Z
Lists: pgsql-hackers
On Fri, Jul 23, 2021 at 10:13 AM Peter Smith <smithpb2250@gmail.com> wrote: > > I have reviewed the v9 patch and my feedback comments are below: > > ////////// > > 1. Apply v9 gave multiple whitespace warnings Fixed. > > ------ > > 2. Commit comment - wording > > pgoutput will also skip COMMIT PREPARED and ROLLBACK PREPARED messages > for transactions which were skipped. > > => > > Is that correct? Or did you mean to say: > > AFTER > pgoutput will also skip COMMIT PREPARED and ROLLBACK PREPARED messages > for transactions that are empty. > > ------ Updated. > > 3. src/backend/replication/pgoutput/pgoutput.c - typo > > + /* > + * If the BEGIN PREPARE was not yet sent, then it means there were no > + * relevant changes encountered, so we can skip the COMMIT PREPARED > + * messsage too. > + */ > > Typo: "messsage" --> "message" > > (NOTE this same typo is in 2 places) > Fixed. I have made these changes in v10 of the patch. 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