Re: Changes to not deferred FK in 8.0.3 to 7.4?

Поиск
Список
Период
Сортировка
От Janning Vygen
Тема Re: Changes to not deferred FK in 8.0.3 to 7.4?
Дата
Msg-id 200507181803.15547.vygen@gmx.de
обсуждение исходный текст
Ответ на Re: Changes to not deferred FK in 8.0.3 to 7.4?  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-general
Am Montag, 18. Juli 2005 16:56 schrieb Tom Lane:
> Janning Vygen <vygen@gmx.de> writes:
> > But why doesn't it work if i make alle FK deferrable initially deferred?
>
> You didn't do it right --- I don't believe the code actually looks at
> pg_constraint, it looks at pg_trigger.  And if you are going to hack
> pg_trigger directly, be careful to only change the check-trigger rows
> not the action-trigger rows.  I forget which is which but Stephen
> probably remembers.

as always: you are absolutly right! I should have checked it properly with the
correct syntax before asking wizards. Sorry for stealing your time. damn. i
felt a little bit like a hacker by manipulating pg_catalog.

regards
Janning

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

Предыдущее
От: Joe Maldonado
Дата:
Сообщение: Re: TRUNCATE locking problem
Следующее
От: Stephan Szabo
Дата:
Сообщение: Re: Changes to not deferred FK in 8.0.3 to 7.4?