| From: | Michael Monnerie <michael(dot)monnerie(at)is(dot)it-management(dot)at> |
|---|---|
| To: | pgsql-admin(at)postgresql(dot)org |
| Subject: | Re: Can't drop constraint? |
| Date: | 2009-05-06 05:45:56 |
| Message-ID: | 200905060745.56455@zmi.at |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-admin |
On Dienstag 05 Mai 2009 Tom Lane wrote:
> Apparently this is just an index, not a constraint (the difference
> being that it was made with CREATE INDEX, not ALTER TABLE ADD
> CONSTRAINT). Try
Is there a performance difference? Or is it just a matter of taste which
one you use? Technically, are they both indices, or is the constraint a
check that's executed on insert/update, but doesn't store the values?
mfg zmi
--
// Michael Monnerie, Ing.BSc ----- http://it-management.at
// Tel: 0660 / 415 65 31 .network.your.ideas.
// PGP Key: "curl -s http://zmi.at/zmi.asc | gpg --import"
// Fingerprint: AC19 F9D5 36ED CD8A EF38 500E CE14 91F7 1C12 09B4
// Keyserver: wwwkeys.eu.pgp.net Key-ID: 1C1209B4
| From | Date | Subject | |
|---|---|---|---|
| Next Message | samana srikanth | 2009-05-06 09:37:02 | Pg_dump consistency. |
| Previous Message | Tom Lane | 2009-05-05 18:10:32 | Re: Can't drop constraint? |