On Fri, 2009-07-24 at 15:47 -0700, David E. Wheeler wrote:
>      WHILE (NOT rec_have IS NULL AND rec_have IS DISTINCT FROM NULL)
>         OR (NOT rec_want IS NULL AND rec_want IS DISTINCT FROM NULL)
> 

I don't think you want the "NOT x IS NULL" part at all -- that will
evaluate to false when x = rec(NULL,NULL). I think you just want the "x
IS DISTINCT FROM NULL" part, right? Will that work?

Regards,
        Jeff Davis


-- 
Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-hackers

Reply via email to