From: | Amit Kapila <amit(dot)kapila16(at)gmail(dot)com> |
---|---|
To: | Ajin Cherian <itsajin(at)gmail(dot)com> |
Cc: | Andres Freund <andres(at)anarazel(dot)de>, PostgreSQL Hackers <pgsql-hackers(at)lists(dot)postgresql(dot)org> |
Subject: | Re: repeated decoding of prepared transactions |
Date: | 2021-02-25 11:36:00 |
Message-ID: | CAA4eK1Lv+sgr1V6u8E+Vs_+20urB2cE34fHgfNKwUaGsd8nuYA@mail.gmail.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers |
On Wed, Feb 24, 2021 at 5:06 PM Ajin Cherian <itsajin(at)gmail(dot)com> wrote:
>
> On Wed, Feb 24, 2021 at 4:48 PM Ajin Cherian <itsajin(at)gmail(dot)com> wrote:
>
> > I plan to split this into two patches next. But do review and let me
> > know if you have any comments.
>
> Attaching an updated patch-set with the changes for
> snapshot_was_exported_at_lsn separated out from the changes for the
> APIs pg_create_logical_replication_slot() and
> pg_logical_slot_get_changes(). Along with a rebase that takes in a few
> more commits since my last patch.
>
Few comments on the first patch:
1. We can't remove ReorderBufferSkipPrepare because we rely on that in
SnapBuildDistributeNewCatalogSnapshot.
2. I have changed the name of the variable from
snapshot_was_exported_at_lsn to snapshot_was_exported_at but I am
still not very sure about this naming because there are times when we
don't export snapshot and we still set this like when creating slots
with CRS_NOEXPORT_SNAPSHOT or when creating via SQL APIs. The other
name that comes to mind is initial_consistency_at, what do you think?
3. Changed comments at various places.
Please find the above changes as a separate patch, if you like you can
include these in the main patch.
Apart from the above, I think the comments related to docs in my
previous email [1] are still valid, can you please take care of those.
--
With Regards,
Amit Kapila.
Attachment | Content-Type | Size |
---|---|---|
v3-0001-Avoid-repeated-decoding-of-prepared-transactions.patch | application/octet-stream | 16.0 KB |
v3-0002-Fixed-review-comments.patch | application/octet-stream | 9.5 KB |
From | Date | Subject | |
---|---|---|---|
Next Message | Amit Kapila | 2021-02-25 13:31:33 | Re: [PATCH] Note effect of max_replication_slots on subscriber side in documentation. |
Previous Message | vignesh C | 2021-02-25 11:34:01 | Re: repeated decoding of prepared transactions |