Re: DOC: Minor updates for logical replication conflicts

From: Peter Smith <smithpb2250(at)gmail(dot)com>
To: shveta malik <shveta(dot)malik(at)gmail(dot)com>
Cc: 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-11-26 21:22:44
Message-ID: CAHut+PspLFeamHJuFZGcz8+krbrdifk2hcpn5s-qCBjEW6tHcA@mail.gmail.com
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Hi Shveta. Thanks for your review and suggestions.

On Thu, Nov 26, 2026 at 4:54 PM shveta malik <shveta(dot)malik(at)gmail(dot)com> wrote:
>
...
>
> Looks good.
>
> 0001: The sentences read better now, though some of that is down to
> personal preference. I especially like the change around the
> update_missing sentence; much clearer.
>
> 0002: Clearer now.
>
> One nit: only the 0001 commit message has typos: "sentances" and
> "track_commit_timetamp".

Oops. Fixed.

>
> While we're at it, shall we also make one line clearer under
> 'update_exists'? Suggestion:
>
> --
> When updating a partitioned table, if the updated row value satisfies
> another partition constraint resulting in the row being inserted into
> a new partition, an insert_exists conflict (rather than update_exists)
> may arise if the new row violates a NOT DEFERRABLE unique constraint.
> --

Good idea. Done as suggested with some minor tweaks.

~

Some other sentence ("This conflict raises an error...") reordering
was done to resolve ambiguities with the previous "with this case"
wording.

~

PSA v2* patches.

======
Kind Regards,
Peter Smith.
Fujitsu Austrlia

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

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Tom Lane 2026-11-26 21:43:44 Re: [PATCH] btree_gist: overflow in gbt_numeric_penalty (sibling of 15b3dc140d9)
Previous Message Manu 2026-11-26 21:17:43 Re: Allow progress tracking of sub-commands