IS DISTINCT FROM vs. ANY

From: David Fetter <david(at)fetter(dot)org>
To: PG Hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: IS DISTINCT FROM vs. ANY
Date: 2009-11-13 08:03:35
Message-ID: 20091113080335.GA20027@fetter.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Folks,

Shouldn't this work and produce a "true?"

SELECT NULL IS NOT DISTINCT FROM ANY(ARRAY['a',NULL]);
ERROR: syntax error at or near "ANY"
LINE 1: SELECT NULL IS NOT DISTINCT FROM ANY(ARRAY['a',NULL]);

Cheers,
David.
--
David Fetter <david(at)fetter(dot)org> http://fetter.org/
Phone: +1 415 235 3778 AIM: dfetter666 Yahoo!: dfetter
Skype: davidfetter XMPP: david(dot)fetter(at)gmail(dot)com
iCal: webcal://www.tripit.com/feed/ical/people/david74/tripit.ics

Remember to vote!
Consider donating to Postgres: http://www.postgresql.org/about/donate

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Dave Page 2009-11-13 08:33:16 Re: next CommitFest
Previous Message daveg 2009-11-13 07:55:22 Re: EOL for 7.4?