| From: | shveta malik <shveta(dot)malik(at)gmail(dot)com> |
|---|---|
| To: | Peter Smith <smithpb2250(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 05:54:09 |
| Message-ID: | CAJpy0uA5VsMCLSunLobNLPKhyAU8wHOCfadpqq_kXwb8XrZKLg@mail.gmail.com |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-hackers |
On Thu, Nov 26, 2026 at 9:49 AM Peter Smith <smithpb2250(at)gmail(dot)com> wrote:
>
> Hi hackers,
>
> While reviewing the recent CLT patches, I noticed some minor
> documentation issues. But, those could not be reported as review
> comments in the CLT thread because they existed already on master.
>
> So here is a new separate thread to make my docs suggestions.
>
> 0001 - In the "Conflicts" section of the logical replication docs [1]
> I found some paragraphs that use "Note that" two or three times, which
> reads poorly. There was also a paragraph with "Additionally ... will
> arise" wording which was ambiguous because it could be misunderstood
> that both `update_deleted` and `update_missing` are raised, instead of
> exactly one of them. Wording for the advice about
> track_commit_timestamp was also made more consistent.
>
> 0002 - Fixed another nearby sentence about "large values", which is
> not clear because it can leave the reader wondering what is "large"
> and what isn't.
>
> ~
>
> PSA v1* patches.
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".
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.
--
The only addition to the existing sentence is "(rather than
update_exists)". This makes clear that insert_exists is reported
instead of update_exists, not in addition to it.
thanks
Shveta
| From | Date | Subject | |
|---|---|---|---|
| Previous Message | Noboru Saito | 2026-11-26 05:03:17 | [DOC][PATCH] Improving the HTML layout of release notes |