From: | Adrian Klaver <adrian(dot)klaver(at)gmail(dot)com> |
---|---|
To: | JORGE MALDONADO <jorgemal1960(at)gmail(dot)com> |
Cc: | "pgsql-sql(at)postgresql(dot)org" <pgsql-sql(at)postgresql(dot)org> |
Subject: | Re: Unique index VS unique constraint |
Date: | 2013-10-04 19:43:07 |
Message-ID: | 524F1A4B.20606@gmail.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-sql |
On 10/04/2013 09:48 AM, JORGE MALDONADO wrote:
> I have search for information about the difference between "unique
> index" and "unique constraint" in PostgreSQL without getting to a
> specific answer, so I kindly ask for an explanation that helps me
> clarify such concept.
The way I think of it is, that since the SQL standard does not mention
indices an INDEX (UNIQUE or otherwise) is just the databases application
of a constraint. So for practical purposes they are the same thing.
>
> Respectfully,
> Jorge Maldonado
--
Adrian Klaver
adrian(dot)klaver(at)gmail(dot)com
From | Date | Subject | |
---|---|---|---|
Next Message | Adrian Klaver | 2013-10-04 19:49:18 | Re: Unique index VS unique constraint |
Previous Message | lucazeo@gmail.com | 2013-10-04 17:41:17 | Re: Unique index VS unique constraint |