Re: repeated decoding of prepared transactions
Amit Kapila <amit.kapila16@gmail.com>
From: Amit Kapila <amit.kapila16@gmail.com>
To: Ajin Cherian <itsajin@gmail.com>
Cc: Andres Freund <andres@anarazel.de>, PostgreSQL Hackers <pgsql-hackers@lists.postgresql.org>
Date: 2021-02-27T06:08:37Z
Lists: pgsql-hackers
Attachments
- v5-0001-Avoid-repeated-decoding-of-prepared-transactions-.patch (application/x-patch) patch v5-0001
- v5-0002-Add-option-to-enable-two-phase-commits-in-pg_crea.patch (application/x-patch) patch v5-0002
On Fri, Feb 26, 2021 at 4:13 PM Ajin Cherian <itsajin@gmail.com> wrote: > > On Fri, Feb 26, 2021 at 7:47 PM Ajin Cherian <itsajin@gmail.com> wrote: > > > I've updated snapshot_was_exported_at_ member to pg_replication_slots as well. > > Do have a look and let me know if there are any comments. > > Update with both patches. > Thanks, I have made some minor changes to the first patch and now it looks good to me. The changes are as below: 1. Removed the changes related to exposing this new parameter via view as mentioned in my previous email. 2. Changed the variable name initial_consistent_point. 3. Ran pgindent, minor changes in comments, and modified the commit message. Let me know what you think about these changes. Next, I'll review your second patch which allows the 2PC option to be enabled only at slot creation time. -- 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