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
Views: Raw Message | Whole Thread | Download mbox | Resend email
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

Browse pgsql-hackers by date

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