Skip site navigation (1) Skip section navigation (2)

Re: Making TEXT NUL-transparent

From: Andrew Dunstan <andrew(at)dunslane(dot)net>
To: Florian Weimer <fweimer(at)bfk(dot)de>
Cc: Alexander Shulgin <ash(at)commandprompt(dot)com>, Pavel Stehule <pavel(dot)stehule(at)gmail(dot)com>, pgsql-hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: Making TEXT NUL-transparent
Date: 2011-11-24 13:57:36
Message-ID: CAD5tBcJvFQF42N6dHLNBbBQAdvAtSgQBNjjGe6VHT9YWtyBBrA@mail.gmail.com (view raw or flat)
Thread:
Lists: pgsql-hackers
On Thu, Nov 24, 2011 at 4:54 AM, Florian Weimer <fweimer(at)bfk(dot)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

In response to

Responses

pgsql-hackers by date

Next:From: Robert HaasDate: 2011-11-24 13:59:08
Subject: Re: Notes on implementing URI syntax for libpq
Previous:From: Simon RiggsDate: 2011-11-24 13:54:31
Subject: Re: Storing hot members of PGPROC out of the band

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group