Re: IS NULL seems to return false, even when parameter is NULL

Поиск
Список
Период
Сортировка
От Andrus
Тема Re: IS NULL seems to return false, even when parameter is NULL
Дата
Msg-id 4998298961DE4098B1F0026AE0584E23@andrusnotebook
обсуждение исходный текст
Ответ на Re: IS NULL seems to return false, even when parameter is NULL  (Richard Huxton <dev@archonet.com>)
Список pgsql-general
Richard,

> Seems to work here:
>
> select (true or null) as a, (null or true) as b, (null or false) as c,
> (false or null) as d;
> a | b | c | d
> ---+---+---+---
> t | t |   |
> (1 row)

I'm sorry for the wrong information.

Andrus.

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

Предыдущее
От: Sam Mason
Дата:
Сообщение: Re: removing a portion of text
Следующее
От: Tom Lane
Дата:
Сообщение: Re: IS NULL seems to return false, even when parameter is NULL