Re: DOC: Minor updates for logical replication conflicts

From: Peter Smith <smithpb2250(at)gmail(dot)com>
To: Amit Kapila <amit(dot)kapila16(at)gmail(dot)com>
Cc: shveta malik <shveta(dot)malik(at)gmail(dot)com>, PostgreSQL Hackers <pgsql-hackers(at)lists(dot)postgresql(dot)org>, shveta malik <shvetamalik(at)gmail(dot)com>
Subject: Re: DOC: Minor updates for logical replication conflicts
Date: 2026-12-03 05:23:55
Message-ID: CAHut+PsG3es7ECeFqvBzzcRfUpLSOpjX_5RO9Hj0oDOBZYc9uw@mail.gmail.com
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Wed, Dec 2, 2026 at 7:54 PM Amit Kapila <amit(dot)kapila16(at)gmail(dot)com> wrote:
>
> On Wed, Dec 2, 2026 at 2:03 PM shveta malik <shveta(dot)malik(at)gmail(dot)com> wrote:
> >
> > Thanks. One occurrence in 001 still had the old text:
> >
> > This conflict
> > + raises an error, and the error will recur until the conflict is
> > + resolved manually.
> >
>
> Your suggestion sounds better than the proposed patch. Also, the

Yes, my bad. I meant to fix all instances of that last time but missed one.

> statement "To log the origin and commit timestamp details of the
> conflicting key, ensure that <link
> linkend="guc-track-commit-timestamp"><varname>track_commit_timestamp</varname></link>"
> should be before "This conflict raises an error, and the error will
> recur until the conflict is resolved manually." as it was earlier. The
> earlier ordering looks more natural to me as the first part tells
> mostly about conflict and then the behavior that follows.
>

Agreed. The reordering was only to avoid the ambiguous "In this case"
following the track_commit_timestamp sentence. However, with the new
"This conflict raises an error, ..." wording, that ambiguity is gone
anyway, so I've restored the original order.

~~~

PSA patches v4*

Patch 0001 has the suggested fixes.
Patch 0002 is unchanged, awaiting a reply [1]

======
[1] https://www.postgresql.org/message-id/CAHut%2BPuba%2Byf73LusQAszn1o9yL9GiKMrnf%2BnZOBCT5qF52ayQ%40mail.gmail.com

Kind Regards,
Peter Smith
Fujitsu Australia

Attachment Content-Type Size
v4-0001-Resolve-ambiguities-and-reduce-repeated-Note-that.patch application/octet-stream 8.7 KB
v4-0002-Clarify-truncation-of-column-values-in-conflict-l.patch application/octet-stream 1.4 KB

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Amit Kapila 2026-12-03 05:50:01 Re: ALTER DEFAULT PRIVILEGES IN SCHEMA pg_conflict silently has no effect
Previous Message Hüseyin Demir 2026-12-03 05:13:12 Re: [PATCH] Report changes discarded for relations not in the subscription