Re: NULL safe equality operator - Mailing list pgsql-hackers

From Christopher Kings-Lynne
Subject Re: NULL safe equality operator
Date
Msg-id 4386C616.6090500@familyhealth.com.au
Whole thread Raw
In response to Re: NULL safe equality operator  (Michael Glaesemann <grzm@myrealbox.com>)
Responses Re: NULL safe equality operator
Re: NULL safe equality operator
List 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 by date:

Previous
From: Michael Glaesemann
Date:
Subject: Re: NULL safe equality operator
Next
From: Christopher Kings-Lynne
Date:
Subject: Re: NULL safe equality operator