Re: pg7.3.4: pg_atoi: zero-length string

Поиск
Список
Период
Сортировка
От Andrew Sullivan
Тема Re: pg7.3.4: pg_atoi: zero-length string
Дата
Msg-id 20031104141823.GB589@libertyrms.info
обсуждение исходный текст
Ответ на Re: pg7.3.4: pg_atoi: zero-length string  (Rob Fielding <rob@dsvr.net>)
Ответы Re: pg7.3.4: pg_atoi: zero-length string
Список pgsql-general
On Tue, Nov 04, 2003 at 12:19:58PM +0000, Rob Fielding wrote:
> I've found this is a feature of 7.3 to not treat a empty string as a
> NULL integer type. Silly lazy me ;)

For the record, it _never_ treated it as NULL.  It treated it as
"empty string".  '' != NULL.  In fact, !(NULL=NULL) & !(NULL!=NULL).
SQL uses three-valued logic.

A

--
----
Andrew Sullivan                         204-4141 Yonge Street
Afilias Canada                        Toronto, Ontario Canada
<andrew@libertyrms.info>                              M2P 2A8
                                         +1 416 646 3304 x110


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

Предыдущее
От: Pavel Stehule
Дата:
Сообщение: Re: Obtain boolean value of expression in PLPGSQL
Следующее
От: "Marc G. Fournier"
Дата:
Сообщение: PostgreSQL v7.4 Release Candidate 1