Re: SQL99 doc update - Mailing list pgsql-patches

From Thomas Lockhart
Subject Re: SQL99 doc update
Date
Msg-id 3D1FD9AB.FD483986@fourpalms.org
Whole thread Raw
In response to Re: SQL99 doc update  ("Christopher Kings-Lynne" <chriskl@familyhealth.com.au>)
Responses Re: SQL99 doc update
List pgsql-patches
> > > This fixes 2 inaccuracies in the recently added SQL99 feature list docs.
> > > UNIQUE and DISTINCT predicates are both listed as implemented -- AFAIK,
> > > neither is.
> > I'm working on adding the IS DISTINCT FROM clause. I haven't looked to
> > see about UNIQUE. Remind me to readjust the docs when we get that
> > working.
> Where are these two new clauses used?

I haven't looked yet at UNIQUE. IS DISTINCT FROM takes two row
expressions and compares them; if every element compares equal (or if
both elements are NULL) then the two expressions are considered to be
"not distinct" and FALSE is returned. Otherwise the two expressions are
considered to be distinct.

                     - Thoas



pgsql-patches by date:

Previous
From: "Christopher Kings-Lynne"
Date:
Subject: Re: SQL99 doc update
Next
From: nconway@klamath.dyndns.org (Neil Conway)
Date:
Subject: Re: SQL99 doc update