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

From John Naylor
Subject Re: NAMEDATALEN increase because of non-latin languages
Date
Msg-id CAFBsxsE0sGU=eT63ofG=YKmCtvx8BmVnR8jUzHh=PCB_a4Z4OQ@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 AM Hannu Krosing <hannuk@google.com> wrote:
>
> Could we just make the limitation to be 64 (or 128) _characters_ not _bytes_ ?

That couldn't work because characters are variable length. The limit has to be a fixed length in bytes so we can quickly compute offsets in the attribute tuple.

--
John Naylor
EDB: http://www.enterprisedb.com

pgsql-hackers by date:

Previous
From: John Naylor
Date:
Subject: Re: NAMEDATALEN increase because of non-latin languages
Next
From: Daniel Gustafsson
Date:
Subject: Re: Is there now an official way to pass column projection to heap AM