Re: More char()/ascii()

From: Andrew Dunstan <andrew(at)dunslane(dot)net>
To: Gregory Stark <stark(at)enterprisedb(dot)com>
Cc: pgsql-hackers list <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: More char()/ascii()
Date: 2008-02-20 12:56:01
Message-ID: 47BC2361.1020505@dunslane.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Gregory Stark wrote:
> Also, I thought we said this would be an error:
>
> postgres=# select length("char"(0));
> length
> --------
> 0
> (1 row)
>
>

IIRC, we said chr(0) would give you an error, and it does. I don't
recall any discussion of "char"(0), but no doubt a few brain cells have
died since then.

Fixing it would be trivial, I'm sure, but is it really a problem?

cheers

andrew

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Magnus Hagander 2008-02-20 13:00:12 Re: Permanent settings
Previous Message Gregory Stark 2008-02-20 12:47:16 Re: failed assertion in toasting code