Re: Foreign key not working in some cases when using triggers - Mailing list pgsql-bugs

From Stephan Szabo
Subject Re: Foreign key not working in some cases when using triggers
Date
Msg-id 20030904230659.K61042-100000@megazone.bigpanda.com
Whole thread Raw
In response to Re: Foreign key not working in some cases when using triggers  (Martin Edlman <edlman@fortech.cz>)
Responses Re: Foreign key not working in some cases when using triggers  (Martin Edlman <edlman@fortech.cz>)
List pgsql-bugs
On Fri, 5 Sep 2003, Martin Edlman wrote:

> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> > If possible, can you give a complete example script that shows the
> > problem?
>
> Here it is.
>

Unfortunately the trigger depends on some other functions that I dind't
have so I replaced those with string constants.  I couldn't get it to fail
with a little bit of playing around on my 7.3.4 box, however.

If you set up a new database with the tables and triggers involved, can
you get it to fail with some test data, and if so, can you send a dump of
the new database along with the command you ran to get it to fail?

If you don't get it to fail, it might be worth trying to reindex the index
on zone(name).

pgsql-bugs by date:

Previous
From: Martin Edlman
Date:
Subject: Re: Foreign key not working in some cases when using triggers
Next
From: Martin Edlman
Date:
Subject: Re: Foreign key not working in some cases when using triggers