| 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 03:52:31 |
| Message-ID: | CAHut+Puba+yf73LusQAszn1o9yL9GiKMrnf+nZOBCT5qF52ayQ@mail.gmail.com |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-hackers |
On Wed, Dec 2, 2026 at 8:17 PM Amit Kapila <amit(dot)kapila16(at)gmail(dot)com> wrote:
>
> On Fri, Nov 27, 2026 at 2:53 AM Peter Smith <smithpb2250(at)gmail(dot)com> wrote:
> >
> <replaceable class="parameter">column_value</replaceable>
> is the column value.
> - The large column values are truncated to 64 bytes.
> + Values longer than 64 bytes are truncated.
>
> I agree the proposed wording is better but a bit unclear as to what
> size it truncates, so how about: "Values longer than 64 bytes are
> truncated to 64 bytes."?
>
Apparently, ExecBuildSlotValueDescription() clips with pg_mbcliplen(),
so a value ends on a character boundary. A multibyte value can come
out a few bytes under 64, so stating "truncated to 64 bytes" is not
100% correct.
How about: "Values are truncated to at most 64 bytes."?
This states the size once, but it is also accurate for multibyte values.
Or, I am fine with using your wording if you don't care about strict
accuracy for multibyte chars.
======
Kind Regards,
Peter Smith.
Fujitsu Australia.
| From | Date | Subject | |
|---|---|---|---|
| Next Message | shihao zhong | 2026-12-03 03:55:23 | Re: DROP USER MAPPING doesn't acquire lock on its server |
| Previous Message | Nisha Moond | 2026-12-03 03:46:30 | Re: DROP SUBSCRIPTION deadlock with ALTER SUBSCRIPTION OWNER TO |