Re: With Function 'Chr', is it a bug?
Andrew Dunstan <andrew@dunslane.net>
From: Andrew Dunstan <andrew@dunslane.net>
To: Wang Haiyong <wanghaiyong@neusoft.com>
Cc: Hackers <pgsql-hackers@postgresql.org>
Date: 2007-01-17T14:08:02Z
Lists: pgsql-hackers
Wang Haiyong wrote: > There are two select statement with using Function chr(0), I don't know, are they both right ? I think that they are inconsistent. > > Off the top of my head I would have thought there was a good case for raising an error on chr(0). Aren't null bytes forbidden in text values? cheers andrew