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: (view raw, whole thread or download thread mbox)
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.



In response to


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-2017 The PostgreSQL Global Development Group