Re: revision of todo: NULL for ROW variables

Поиск
Список
Период
Сортировка
От Merlin Moncure
Тема Re: revision of todo: NULL for ROW variables
Дата
Msg-id AANLkTiniX81Kv2Y0_JUQvVQjULbKrpO44=ik0LBHDGTr@mail.gmail.com
обсуждение исходный текст
Ответ на Re: revision of todo: NULL for ROW variables  (Tom Lane <tgl@sss.pgh.pa.us>)
Ответы Re: revision of todo: NULL for ROW variables  (Jim Nasby <jim@nasby.net>)
Список pgsql-hackers
On Thu, Oct 28, 2010 at 10:15 AM, Tom Lane <tgl@sss.pgh.pa.us> wrote:
> Pavel Stehule <pavel.stehule@gmail.com> writes:
>> I am checking PLpgSQL ToDo topics, and I am not sure if this topic
>> isn't done. And if not, then I would to get some detail.
>
> I think that thread petered out because we didn't have consensus on
> what the behavior ought to be.  It goes back to whether there is
> supposed to be a difference between NULL and ROW(NULL,NULL,NULL,...)

I think somewhere along the line it was noticed that SQL says you are
supposed to treat (null, null) as null and the behavior of 'is null'
operator was changed to reflect this while other null influenced
behaviors were left intact (for example, coalesce()).

My take on this is that we are stuck with the status quo.  If a change
must be done, the 'is null' change should be reverted to un-standard
behavior.  The SQL standard position on this issue is, IMNSHO, on
mars.

merlin


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

Предыдущее
От: Pavel Stehule
Дата:
Сообщение: Re: plperl arginfo
Следующее
От: "Stephen J. Butler"
Дата:
Сообщение: Re: plperl arginfo