Re: Pre-proposal: unicode normalized text - Mailing list pgsql-hackers

From Robert Haas
Subject Re: Pre-proposal: unicode normalized text
Date
Msg-id CA+TgmoY6vNbDoBugDT=3rdJ-diyLw-kQ9sxB2JXenv48xV_tVQ@mail.gmail.com
Whole thread Raw
In response to Re: Pre-proposal: unicode normalized text  (Nico Williams <nico@cryptonector.com>)
Responses Re: Pre-proposal: unicode normalized text  (Chapman Flack <chap@anastigmatix.net>)
List pgsql-hackers
On Wed, Oct 4, 2023 at 1:27 PM Nico Williams <nico@cryptonector.com> wrote:
> A UTEXT type would be helpful for specifying that the text must be
> Unicode (in which transform?) even if the character data encoding for
> the database is not UTF-8.

That's actually pretty thorny ... because right now client_encoding
specifies the encoding to be used for all data sent to the client. So
would we convert the data from UTF8 to the selected client encoding?
Or what?

--
Robert Haas
EDB: http://www.enterprisedb.com



pgsql-hackers by date:

Previous
From: Nico Williams
Date:
Subject: Re: Pre-proposal: unicode normalized text
Next
From: Chapman Flack
Date:
Subject: Re: Pre-proposal: unicode normalized text