Re: NULL safe equality operator

Поиск
Список
Период
Сортировка
От Christopher Kings-Lynne
Тема Re: NULL safe equality operator
Дата
Msg-id 4386C616.6090500@familyhealth.com.au
обсуждение исходный текст
Ответ на Re: NULL safe equality operator  (Michael Glaesemann <grzm@myrealbox.com>)
Ответы Re: NULL safe equality operator  (Michael Glaesemann <grzm@myrealbox.com>)
Re: NULL safe equality operator  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-hackers
> test=# select null_safe_cmp (NULL,NULL);
> ERROR:  could not determine anyarray/anyelement type because input  has 
> type "unknown"
> test=# select null_safe_cmp (NULL::integer,NULL::integer);
> null_safe_cmp
> ---------------
>              1
> (1 row)
> 
> Same casting problem due to anyelement, of course.

Yes - I wonder what the trick to getting around that is?

Chris



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

Предыдущее
От: Michael Glaesemann
Дата:
Сообщение: Re: NULL safe equality operator
Следующее
От: Christopher Kings-Lynne
Дата:
Сообщение: Re: NULL safe equality operator