Re: PostgreSQL equivalent of the Oracale 'unique' qualifier - Mailing list pgsql-general

From Bricklen Anderson
Subject Re: PostgreSQL equivalent of the Oracale 'unique' qualifier
Date
Msg-id 45620D83.4060904@presinet.com
Whole thread Raw
In response to PostgreSQL equivalent of the Oracale 'unique' qualifier  ("Wm.A.Stafford" <stafford@marine.rutgers.edu>)
List pgsql-general
Wm.A.Stafford wrote:
> I hope the subject says it all.  I'm porting an Oracle-centric
> application to PostgreSQL and the Oracle sql is full of the 'unique'
> qualifier.  I'm assuming PostgreSQL does not support 'unique' since
> don't see a 'unique' anywhere in the PostgreSQL docs.  Is there a
> substitute or a technique to get the same result?
>
> Thanks,
> -=bill stafford

DISTINCT, and PostgreSQL's proprietary extension, DISTINCT ON.
http://www.postgresql.org/docs/8.1/interactive/queries-select-lists.html#QUERIES-DISTINCT

pgsql-general by date:

Previous
From: Alvaro Herrera
Date:
Subject: Re: PostgreSQL equivalent of the Oracale 'unique' qualifier
Next
From: "Wm.A.Stafford"
Date:
Subject: More on unique vs distinct