| From: | Dilip Kumar <dilipbalaut(at)gmail(dot)com> |
|---|---|
| To: | shveta malik <shveta(dot)malik(at)gmail(dot)com> |
| Cc: | Nisha Moond <nisha(dot)moond412(at)gmail(dot)com>, Amit Kapila <amit(dot)kapila16(at)gmail(dot)com>, Masahiko Sawada <sawada(dot)mshk(at)gmail(dot)com>, vignesh C <vignesh21(at)gmail(dot)com>, saurabh singh <saurabh(dot)singh214(at)gmail(dot)com>, Robert Haas <robertmhaas(at)gmail(dot)com>, Peter Smith <smithpb2250(at)gmail(dot)com>, Bharath Rupireddy <bharath(dot)rupireddyforpostgres(at)gmail(dot)com>, PostgreSQL Hackers <pgsql-hackers(at)lists(dot)postgresql(dot)org>, shveta malik <shvetamalik(at)gmail(dot)com> |
| Subject: | Re: Proposal: Conflict log history table for Logical Replication |
| Date: | 2026-10-28 11:04:33 |
| Message-ID: | CAFiTN-umR=7QKbQMKcWpvgGd9LWktHgbm5eJ59wvrdmDq5BV_A@mail.gmail.com |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-hackers |
On Wed, Oct 28, 2026 at 2:28 PM shveta malik <shveta(dot)malik(at)gmail(dot)com> wrote:
>
> On Wed, Oct 28, 2026 at 10:50 AM shveta malik <shveta(dot)malik(at)gmail(dot)com> wrote:
> >
> > On Tue, Oct 27, 2026 at 5:03 PM Nisha Moond <nisha(dot)moond412(at)gmail(dot)com> wrote:
> > >
> > > Please find the updated patches v85. I also incorporated Shveta's doc
> > > suggestion[1] into the v85-0004 patch.
> >
> > Thanks for the patches. You did not post v85-0004, which you are
> > referring to in the above comment.
> >
> > I reviewed 001 mainly. A few comments:
> >
>
> Reviewed 002 and 003, one minor comment in 002, we have error messages
> like below:
>
> + errdetail("Dropping the conflict log table requires a lock that
> prepared transactions of this subscription may be holding."),
>
> + errdetail("Prepared transactions of the subscription may hold a lock
> on its conflict log table."),
>
> The second message uses the ambiguous "its". It would be clearer to
> explicitly refer to the 'subscription’s conflict log table', as in the
> first message.
>
> Suggestion:
> "Prepared transactions of the subscription may hold a lock on the
> subscription’s conflict log table."
Attached patch set fixes all the comments of 0001 and 0002. It also
includes Nisha's offlist top up patch for 0001 and 0002, along with
some offlist suggestions from Amit. Additionally I have removed this
line "Renamed the conflict log table column remote_origin to
apply_origin." from the commit message, because this change is not on
top of the HEAD, it was just changed over previous version of the same
patch.
--
Regards,
Dilip Kumar
Google
| Attachment | Content-Type | Size |
|---|---|---|
| v86-0002-Avoid-stalling-apply-on-the-conflict-log-table-w.patch | application/octet-stream | 28.9 KB |
| v86-0003-Document-and-comment-that-replica-identity-rende.patch | application/octet-stream | 4.1 KB |
| v86-0001-Implement-the-conflict-insertion-infrastructure-.patch | application/octet-stream | 100.1 KB |
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Fujii Masao | 2026-10-28 11:09:22 | Re: Reporting WAL replay progress during pre-consistency standby reovery |
| Previous Message | Michael Paquier | 2026-10-28 10:56:50 | Re: Return pg_control from pg_backup_stop(). |