DOC: Minor updates for logical replication conflicts
Thread notes
1 note#docs
hackorum-bot#docs
@global #docs
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]https://www.postgresql.org/docs/current/logical-replication-conflicts.html
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.
======
[1]: https://www.postgresql.org/docs/current/logical-replication-conflicts.html
Kind Regards,
Peter Smith.
Fujitsu Australia
Attachments:
t259848_1v1-0002-doc-Clarify-truncation-of-column-values-in-confli.patchapplication/octet-stream; name=v1-0002-doc-Clarify-truncation-of-column-values-in-confli.patchDownload+1-2
v1-0001-doc-Reduce-repeated-Note-that-in-logical-replicat.patchapplication/octet-stream; name=v1-0001-doc-Reduce-repeated-Note-that-in-logical-replicat.patchDownload+18-21
On Thu, Nov 26, 2026 at 9:49 AM Peter Smith <smithpb2250@gmail.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
Hi Shveta. Thanks for your review and suggestions.
On Thu, Nov 26, 2026 at 4:54 PM shveta malik <shveta.malik@gmail.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