Re: Implementing full UTF-8 support (aka supporting 0x00) - Mailing list pgsql-hackers

From Álvaro Hernández Tortosa
Subject Re: Implementing full UTF-8 support (aka supporting 0x00)
Date
Msg-id 13c36522-ca3f-5e78-3518-6615f3defb7f@8kdata.com
Whole thread Raw
In response to Re: Implementing full UTF-8 support (aka supporting 0x00)  (Geoff Winkless <pgsqladmin@geoff.dj>)
List pgsql-hackers

On 03/08/16 18:35, Geoff Winkless wrote:
> On 3 August 2016 at 15:54, Álvaro Hernández Tortosa <aht@8kdata.com> wrote:
>>      Given that 0x00 is a perfectly legal UTF-8 character, I conclude we're
>> strictly non-compliant.
> It's perhaps worth mentioning that 0x00 is valid ASCII too, and
> PostgreSQL has never stored that either.
    Then yes, it could also be a problem. But as of today I believe 
solving the problem for UTF-8 would solve the great majority of this 
embedded NUL problems.
    Álvaro


-- 

Álvaro Hernández Tortosa


-----------
8Kdata




pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: New version numbering practices
Next
From: Andrey Borodin
Date:
Subject: Re: Optimizing numeric SUM() aggregate