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

From: Janning Vygen <vygen(at)gmx(dot)de>
To: pgsql-general(at)postgresql(dot)org
Cc: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, Stephan Szabo <sszabo(at)megazone(dot)bigpanda(dot)com>
Subject: Re: Changes to not deferred FK in 8.0.3 to 7.4?
Date: 2005-07-18 16:03:15
Message-ID: 200507181803.15547.vygen@gmx.de
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Am Montag, 18. Juli 2005 16:56 schrieb Tom Lane:
> Janning Vygen <vygen(at)gmx(dot)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

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Stephan Szabo 2005-07-18 16:04:13 Re: Changes to not deferred FK in 8.0.3 to 7.4?
Previous Message Joe Maldonado 2005-07-18 15:04:28 Re: TRUNCATE locking problem