Re: "is not distinct from" syntax error?

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: "Collin Peters" <cadiolis(at)gmail(dot)com>
Cc: pgsql-sql(at)postgresql(dot)org
Subject: Re: "is not distinct from" syntax error?
Date: 2007-05-01 00:46:57
Message-ID: 11169.1177980417@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-sql

"Collin Peters" <cadiolis(at)gmail(dot)com> writes:
> However, when I do:
> SELECT 1 IS NOT DISTINCT FROM 2
> I get "ERROR: syntax error at or near "DISTINCT""

> What is the problem here?

Using a pre-8.2 server, likely.

regards, tom lane

In response to

Browse pgsql-sql by date

  From Date Subject
Next Message Tom Lane 2007-05-01 00:52:22 Re: Dynamic prepare possible in plpgsql?
Previous Message Collin Peters 2007-05-01 00:03:03 "is not distinct from" syntax error?