Re: Bug #840: Query with null string

Поиск
Список
Период
Сортировка
От Stephan Szabo
Тема Re: Bug #840: Query with null string
Дата
Msg-id 20021206135616.B21321-100000@megazone23.bigpanda.com
обсуждение исходный текст
Ответ на Bug #840: Query with null string  (pgsql-bugs@postgresql.org)
Список pgsql-bugs
On Fri, 6 Dec 2002 pgsql-bugs@postgresql.org wrote:

> Sample Code
> SELECT * FROM tbluser WHERE userid = ""

I assume you mean '' rather than "".

0 length strings used to be interpreted as having
the value 0 when converted into an integer.  Now it
throws an error instead.  There was some discussion
at the time it happened and some more recently on
the mailing lists, you should be able to get more
info from the archives.

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

Предыдущее
От: pgsql-bugs@postgresql.org
Дата:
Сообщение: Bug #840: Query with null string
Следующее
От: Tom Lane
Дата:
Сообщение: Re: GEQO Triggers Server Crash