On Thu, Dec 3, 2026 at 9:22 AM Peter Smith <[email protected]> wrote: > > On Wed, Dec 2, 2026 at 8:17 PM Amit Kapila <[email protected]> wrote: > > > > On Fri, Nov 27, 2026 at 2:53 AM Peter Smith <[email protected]> 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. >
I am fine even if we are not strict here as this is just a LOG message. Also, I thought about at most 64 bytes kind of wording but I feel that may need another explanation as to in which cases it would be less than 64 bytes and it is not clear to me whether it is worth making it more elaborative than current. -- With Regards, Amit Kapila.
