"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