Re: Optimising Foreign Key checks

Поиск
Список
Период
Сортировка
От Simon Riggs
Тема Re: Optimising Foreign Key checks
Дата
Msg-id CA+U5nMJSnKghxg_pt6e3Txn0a+3nc9j0wt0XQPoHvmiUYUSFuw@mail.gmail.com
обсуждение исходный текст
Ответ на Re: Optimising Foreign Key checks  (Greg Stark <stark@mit.edu>)
Список pgsql-hackers
On 9 June 2013 14:59, Greg Stark <stark@mit.edu> wrote:
> On Sun, Jun 9, 2013 at 10:51 AM, Simon Riggs <simon@2ndquadrant.com> wrote:
>> AFAICS there are weird cases where changing the way FKs execute will
>> change the way complex trigger applications will execute. I don't see
>> a way to avoid that other than "do nothing". Currently, we execute the
>> checks following the normal order of execution rules for triggers.
>> Every idea we've had so far changes that in some way; variously in
>> major or minor ways, but changed nonetheless.
>
> The obvious case to handle would be if someone has a trigger to
> automatically create any missing references.

Exactly my thoughts.

--Simon Riggs                   http://www.2ndQuadrant.com/PostgreSQL Development, 24x7 Support, Training & Services



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

Предыдущее
От: "Joshua D. Drake"
Дата:
Сообщение: Re: small patch to crypt.c
Следующее
От: Andrew Dunstan
Дата:
Сообщение: postgres_fdw regression tests order dependency