Re: repeated decoding of prepared transactions
Amit Kapila <amit.kapila16@gmail.com>
From: Amit Kapila <amit.kapila16@gmail.com>
To: vignesh C <vignesh21@gmail.com>
Cc: Ajin Cherian <itsajin@gmail.com>, Andres Freund <andres@anarazel.de>, PostgreSQL Hackers <pgsql-hackers@lists.postgresql.org>
Date: 2021-03-03T03:42:44Z
Lists: pgsql-hackers
On Tue, Mar 2, 2021 at 12:43 PM vignesh C <vignesh21@gmail.com> wrote: > > On Tue, Mar 2, 2021 at 9:33 AM Amit Kapila <amit.kapila16@gmail.com> wrote: > > > > On Tue, Mar 2, 2021 at 8:20 AM vignesh C <vignesh21@gmail.com> wrote: > > > > > > > > > I have a minor comment regarding the below: > > > + <row> > > > + <entry role="catalog_table_entry"><para role="column_definition"> > > > + <structfield>two_phase</structfield> <type>bool</type> > > > + </para> > > > + <para> > > > + True if two-phase commits are enabled on this slot. > > > + </para></entry> > > > + </row> > > > > > > Can we change something like: > > > True if the slot is enabled for decoding prepared transaction > > > information. Refer link for more information.(link should point where > > > more detailed information is available for two-phase in > > > pg_create_logical_replication_slot). > > > > > > Also there is one small indentation in that line, I think there should > > > be one space before "True if....". > > > > > > > Okay, fixed these but I added a slightly different description. I have > > also added the parameter description for > > pg_create_logical_replication_slot in docs and changed the comments at > > various places in the code. Apart from that ran pgindent. The patch > > looks good to me now. Let me know what do you think? > > Patch applies cleanly, make check and make check-world passes. I did > not find any other issue. The patch looks good to me. > Thanks, I have pushed this patch. -- With Regards, Amit Kapila.
Commits
-
Add option to enable two_phase commits via pg_create_logical_replication_slot.
- 19890a064ebf 14.0 landed
-
Avoid repeated decoding of prepared transactions after a restart.
- 8bdb1332eb51 14.0 landed
-
Allow decoding at prepare time in ReorderBuffer.
- a271a1b50e9b 14.0 cited