Re: problem selecting rows with null value

Поиск
Список
Период
Сортировка
От Larry Rosenman
Тема Re: problem selecting rows with null value
Дата
Msg-id 6180000.1047522944@lerlaptop.lerctr.org
обсуждение исходный текст
Ответ на Re: problem selecting rows with null value  (Taral <taral@taral.net>)
Список pgsql-general

--On Wednesday, March 12, 2003 19:55:00 -0600 Taral <taral@taral.net> wrote:

> On Wed, Mar 12, 2003 at 04:55:31PM -0800, Jord Tanner wrote:
>> Use 'IS NULL' or 'IS NOT NULL' like this:
>>
>>     select * from pleah where bar IS NULL;
>>
>> '=' does not work for null values.
>
> I was pretty sure there was supposed to be an automatic rewrite for that
> since "= NULL" is so common...
There is a GUC (read postgresql.conf) parameter for that.  I don't know
what it is
off hand, however.


--
Larry Rosenman                     http://www.lerctr.org/~ler
Phone: +1 972-414-9812                 E-Mail: ler@lerctr.org
US Mail: 1905 Steamboat Springs Drive, Garland, TX 75044-6749




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

Предыдущее
От: Taral
Дата:
Сообщение: Re: problem selecting rows with null value
Следующее
От: James Gregory
Дата:
Сообщение: Audit trail