Re: Unique Index - Mailing list pgsql-general

From Michael Glaesemann
Subject Re: Unique Index
Date
Msg-id 758D10FE-6AB5-11D9-A069-000A95C88220@myrealbox.com
Whole thread Raw
In response to Re: Unique Index  (David Garamond <lists@zara.6.isreserved.com>)
Responses Re: Unique Index
List pgsql-general
On Jan 20, 2005, at 16:03, David Garamond wrote:

> Dann Corbit wrote:
>> True, but the standard says nothing about the creation of an index, so
>> you can make it behave in any way that you see fit.
>
> But I thought we are talking about unique _constraint_ here (which is
> certainly regulated by the standard).

They could conceivably be separated. The standard likewise doesn't say
anything about how the unique constraint is enforced. In PostgreSQL, a
"unique" index is used to enforce the constraint, but the unique index
is not intrinsically tied to the unique constraint.

Michael Glaesemann
grzm myrealbox com


pgsql-general by date:

Previous
From: Thomas F.O'Connell
Date:
Subject: Re: PL/PgSQL Index Usage with Trigger Variables
Next
From: "Vincent Hikida"
Date:
Subject: Re: Unique Index