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

From Tom Lane
Subject Re: Pre-proposal: unicode normalized text
Date
Msg-id 2816608.1696535377@sss.pgh.pa.us
Whole thread Raw
In response to Re: Pre-proposal: unicode normalized text  (Nico Williams <nico@cryptonector.com>)
Responses Re: Pre-proposal: unicode normalized text
List pgsql-hackers
Nico Williams <nico@cryptonector.com> writes:
> Text+encoding can be just like bytea with a one- or two-byte prefix
> indicating what codeset+encoding it's in.  That'd be how to encode
> such text values on the wire, though on disk the column's type should
> indicate the codeset+encoding, so no need to add a prefix to the value.

The precedent of BOMs (byte order marks) suggests strongly that
such a solution would be horrible to use.

            regards, tom lane



pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: Rights Control within DB (which SuperUser cannot access, but user can)
Next
From: Nico Williams
Date:
Subject: Re: Pre-proposal: unicode normalized text