Re: order of checking the unique constraints

From: "Marc Mamin" <M(dot)Mamin(at)intershop(dot)de>
To: "Sahagian, David" <david(dot)sahagian(at)emc(dot)com>, <pgsql-general(at)postgresql(dot)org>
Subject: Re: order of checking the unique constraints
Date: 2012-08-28 14:00:36
Message-ID: C4DAC901169B624F933534A26ED7DF310861B676@JENMAIL01.ad.intershop.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Hello,

I had a similar question some time ago, with an answer by Tom lane:

http://archives.postgresql.org/pgsql-general/2012-03/msg00023.php

best regards,

Marc Mamin

From: pgsql-general-owner(at)postgresql(dot)org
[mailto:pgsql-general-owner(at)postgresql(dot)org] On Behalf Of Sahagian, David
Sent: Dienstag, 28. August 2012 15:46
To: pgsql-general(at)postgresql(dot)org
Subject: [GENERAL] order of checking the unique constraints

Using 9.1

Can somebody tell me the order in which the Unique Constraints of a
table are checked, like when an INSERT is done ?

It seems the the Primary is checked first, but what about the regular
UCs ?

Thanks,

-dvs-

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message José Pedro Santos 2012-08-28 14:19:36 Re: FGS - Postgresql server install
Previous Message Chris Travers 2012-08-28 13:55:20 Re: 9.2 and index only scans