Re: TRIGGER BEFORE INSERT - Mailing list pgsql-general

From Alban Hertroys
Subject Re: TRIGGER BEFORE INSERT
Date
Msg-id 45A64543.8080807@magproductions.nl
Whole thread Raw
In response to Re: TRIGGER BEFORE INSERT  (Rafal Pietrak <rafal@zorro.isa-geek.com>)
Responses Re: TRIGGER BEFORE INSERT  (Rafal Pietrak <rafal@zorro.isa-geek.com>)
List pgsql-general
Rafal Pietrak wrote:
> Hi!
>
> I'm re-posting this message again in hope someone would have a look at
> the case again.   .. it's pending.

You were given a solution; defer the foreign key constraint.

Alternatively, you may want to re-think your trigger function so that it
does things in the right order.

--
Alban Hertroys
alban@magproductions.nl

magproductions b.v.

T: ++31(0)534346874
F: ++31(0)534346876
M:
I: www.magproductions.nl
A: Postbus 416
   7500 AK Enschede

// Integrate Your World //

pgsql-general by date:

Previous
From: Martijn van Oosterhout
Date:
Subject: Re: TRIGGER BEFORE INSERT
Next
From: "Jeanna Geier"
Date:
Subject: Re: Problems With VIEWS