Re: NAMEDATALEN increase because of non-latin languages - Mailing list pgsql-hackers

From Julien Rouhaud
Subject Re: NAMEDATALEN increase because of non-latin languages
Date
Msg-id CAOBaU_ZRWGwNa-kHtUea5BA5+GpU34i8ZnGoqS_mZfapKVhfwg@mail.gmail.com
Whole thread Raw
In response to Re: NAMEDATALEN increase because of non-latin languages  (Hannu Krosing <hannuk@google.com>)
List pgsql-hackers
On Wed, Aug 18, 2021 at 8:03 PM Hannu Krosing <hannuk@google.com> wrote:
>
> Also - have we checked that at least the truncation does not cut utf-8
> characters in half ?

Yes, same for all other places that can truncate text (like the query
text in pg_stat_activity and similar).  See usage of pg_mbcliplen() in
truncate_identifier.



pgsql-hackers by date:

Previous
From: Hannu Krosing
Date:
Subject: pgbench functions as extension
Next
From: Andy Fan
Date:
Subject: Re: Keep notnullattrs in RelOptInfo (Was part of UniqueKey patch series)