Re: NULL safe equality operator

From: Christopher Kings-Lynne <chriskl(at)familyhealth(dot)com(dot)au>
To: Michael Glaesemann <grzm(at)myrealbox(dot)com>
Cc: Hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: NULL safe equality operator
Date: 2005-11-25 08:06:46
Message-ID: 4386C616.6090500@familyhealth.com.au
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Christopher Kings-Lynne 2005-11-25 08:11:40 Re: NULL safe equality operator
Previous Message Michael Glaesemann 2005-11-25 07:55:37 Re: NULL safe equality operator