Re: With Function 'Chr', is it a bug? - Mailing list pgsql-hackers

From Andrew Dunstan
Subject Re: With Function 'Chr', is it a bug?
Date
Msg-id 45AE2DC2.2070200@dunslane.net
Whole thread Raw
In response to Re: With Function 'Chr', is it a bug?  (Wang Haiyong <wanghaiyong@neusoft.com>)
Responses Re: With Function 'Chr', is it a bug?  (Tom Lane <tgl@sss.pgh.pa.us>)
List 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


pgsql-hackers by date:

Previous
From: "Jignesh K. Shah"
Date:
Subject: fixing Makefile.shlib for solaris/gcc with -m64 flag
Next
From: Andrew Dunstan
Date:
Subject: Re: What is the motivation of include directive and