Re: When is a record NULL?

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: When is a record NULL?
Дата
Msg-id 15091.1248391357@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: When is a record NULL?  ("David E. Wheeler" <david@kineticode.com>)
Ответы Re: When is a record NULL?  ("David E. Wheeler" <david@kineticode.com>)
Список pgsql-hackers
"David E. Wheeler" <david@kineticode.com> writes:
> And yet they're DISTINCT FROM each other if either or both contain  
> NULLs and some other values?

Well, that would depend on what the values were and in what columns...

> It seems to me that, to be consistent, it  
> should be:

>      select ROW(1, NULL) IS DISTINCT FROM ROW(2, NULL);
>      ?column?
>      ----------
>      f

Dunno how you can possibly come to that conclusion.  Those row
values are certainly distinct (according to both PG and the spec).
        regards, tom lane


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

Предыдущее
От: "David E. Wheeler"
Дата:
Сообщение: Re: When is a record NULL?
Следующее
От: Euler Taveira de Oliveira
Дата:
Сообщение: Re: WIP: to_char, support for EEEE format