Re: Changes to not deferred FK in 8.0.3 to 7.4? - Mailing list pgsql-general

From Janning Vygen
Subject Re: Changes to not deferred FK in 8.0.3 to 7.4?
Date
Msg-id 200507181803.15547.vygen@gmx.de
Whole thread Raw
In response to Re: Changes to not deferred FK in 8.0.3 to 7.4?  (Tom Lane <tgl@sss.pgh.pa.us>)
List 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 by date:

Previous
From: Joe Maldonado
Date:
Subject: Re: TRUNCATE locking problem
Next
From: Stephan Szabo
Date:
Subject: Re: Changes to not deferred FK in 8.0.3 to 7.4?