From: | Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> |
---|---|
To: | "David G(dot) Johnston" <david(dot)g(dot)johnston(at)gmail(dot)com> |
Cc: | Perry Smith <pedz(at)easesoftware(dot)com>, "pgsql-general(at)lists(dot)postgresql(dot)org" <pgsql-general(at)lists(dot)postgresql(dot)org> |
Subject: | Re: Constraint ordering |
Date: | 2022-04-09 15:07:17 |
Message-ID: | 4108560.1649516837@sss.pgh.pa.us |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-general |
"David G. Johnston" <david(dot)g(dot)johnston(at)gmail(dot)com> writes:
> On Sat, Apr 9, 2022 at 7:43 AM Perry Smith <pedz(at)easesoftware(dot)com> wrote:
>> All that to ask: is there a predictable ordering of constraints?
> I'm not aware of any documentation describing constraint evaluation order.
IIRC, triggers are specified to fire in name order. Uniqueness
constraints are not enforced by triggers though; I wouldn't care
to rely on the order in which those are checked.
regards, tom lane
From | Date | Subject | |
---|---|---|---|
Next Message | Joshua Price | 2022-04-11 04:57:49 | LDAP - Postgres server running on windows |
Previous Message | Ron | 2022-04-09 15:05:44 | Re: Constraint ordering |