Re: Making TEXT NUL-transparent - Mailing list pgsql-hackers

From Andrew Dunstan
Subject Re: Making TEXT NUL-transparent
Date
Msg-id CAD5tBcJvFQF42N6dHLNBbBQAdvAtSgQBNjjGe6VHT9YWtyBBrA@mail.gmail.com
Whole thread Raw
In response to Re: Making TEXT NUL-transparent  (Florian Weimer <fweimer@bfk.de>)
Responses Re: Making TEXT NUL-transparent
List pgsql-hackers


On Thu, Nov 24, 2011 at 4:54 AM, Florian Weimer <fweimer@bfk.de> wrote:

By the way, I refuse the notion that UTF-8 strings with embedded NULs
are "broken".  I can't recall any other system which enforces UTF-8
well-formedness, but does not permit embedded NULs.



Refuse away, but I don't think you know what you're asking for. Given the number of places that treat text values as being nul-terminated in the code, we'd be many years fixing bugs from a change like this, IMNSHO.

cheers

andrew

pgsql-hackers by date:

Previous
From: Simon Riggs
Date:
Subject: Re: Storing hot members of PGPROC out of the band
Next
From: Robert Haas
Date:
Subject: Re: Notes on implementing URI syntax for libpq