Re: Error when comparing an integer to an empty string.

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Error when comparing an integer to an empty string.
Дата
Msg-id 13595.1037906084@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: Error when comparing an integer to an empty string.  (Louis-David Mitterrand <vindex@apartia.org>)
Список pgsql-hackers
Louis-David Mitterrand <vindex@apartia.org> writes:
> The point David was trying to make is: 
> with 7.2:
>     template1=# select 1 = '';
>      ?column? 
>     ----------
>      f
>     (1 row)

> with 7.3rc1:
>     template1=# select 1 = '';
>     ERROR:  pg_atoi: zero-length string

> Is this change of behavior intentional?

Yes.
        regards, tom lane


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

Предыдущее
От: Bruce Momjian
Дата:
Сообщение: Re: [GENERAL] Bug with sequence
Следующее
От: Bruce Momjian
Дата:
Сообщение: Re: [GENERAL] Bug with sequence