Re: More char()/ascii()

Поиск
Список
Период
Сортировка
От Andrew Dunstan
Тема Re: More char()/ascii()
Дата
Msg-id 47BC2361.1020505@dunslane.net
обсуждение исходный текст
Ответ на More char()/ascii()  (Gregory Stark <stark@enterprisedb.com>)
Ответы Re: More char()/ascii()  (Gregory Stark <stark@enterprisedb.com>)
Список 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


В списке pgsql-hackers по дате отправления:

Предыдущее
От: Gregory Stark
Дата:
Сообщение: Re: failed assertion in toasting code
Следующее
От: Magnus Hagander
Дата:
Сообщение: Re: Permanent settings