Re: With Function 'Chr', is it a bug?

From: Andrew Dunstan <andrew(at)dunslane(dot)net>
To: Wang Haiyong <wanghaiyong(at)neusoft(dot)com>
Cc: Hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: With Function 'Chr', is it a bug?
Date: 2007-01-17 14:08:02
Message-ID: 45AE2DC2.2070200@dunslane.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers pgsql-patches

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

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Andrew Dunstan 2007-01-17 14:15:08 Re: What is the motivation of include directive and
Previous Message Jignesh K. Shah 2007-01-17 12:34:22 fixing Makefile.shlib for solaris/gcc with -m64 flag

Browse pgsql-patches by date

  From Date Subject
Next Message Tom Lane 2007-01-17 14:53:53 Re: With Function 'Chr', is it a bug?
Previous Message Gregory Stark 2007-01-17 13:20:36 Re: Recalculating OldestXmin in a long-running vacuum