Re: Deadlocks caused by a foreign key constraint

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Deadlocks caused by a foreign key constraint
Дата
Msg-id 17489.1187241703@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: Deadlocks caused by a foreign key constraint  (Decibel! <decibel@decibel.org>)
Ответы Re: Deadlocks caused by a foreign key constraint
Список pgsql-general
Decibel! <decibel@decibel.org> writes:
> But... taking a quick look at RI_FKey_check in backend/utils/adt/
> ri_triggers.c, I don't see it checking to see if the FK has changed,
> which seems odd. I would think that if the FK fields haven't changed
> that there's no need to perform the check.

You looked in the wrong place; see AfterTriggerSaveEvent in
commands/trigger.c

            regards, tom lane

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

Предыдущее
От: Rodrigo De León
Дата:
Сообщение: Re: Fastest way to import only ONE column into a table? (COPY doesn't work)
Следующее
От: Tom Lane
Дата:
Сообщение: Re: User-Friendly TimeZone List