Re: Constraint ordering

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Constraint ordering
Дата
Msg-id 4108560.1649516837@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: Constraint ordering  ("David G. Johnston" <david.g.johnston@gmail.com>)
Список pgsql-general
"David G. Johnston" <david.g.johnston@gmail.com> writes:
> On Sat, Apr 9, 2022 at 7:43 AM Perry Smith <pedz@easesoftware.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



В списке pgsql-general по дате отправления:

Предыдущее
От: Ron
Дата:
Сообщение: Re: Constraint ordering
Следующее
От: Joshua Price
Дата:
Сообщение: LDAP - Postgres server running on windows