From: | Martijn van Oosterhout <kleptog(at)svana(dot)org> |
---|---|
To: | Rafal Pietrak <rafal(at)zorro(dot)isa-geek(dot)com> |
Cc: | Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, Jerry Sievers <jerry(at)jerrysievers(dot)com>, pgsql-general(at)postgresql(dot)org |
Subject: | Re: TRIGGER BEFORE INSERT |
Date: | 2007-01-11 14:07:36 |
Message-ID: | 20070111140736.GE5836@svana.org |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-general |
On Thu, Jan 11, 2007 at 01:01:24PM +0100, 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.
Well, I can't help with the details because I can't see what you're
trying to do, but I'm fairly sure you can't change te "deferred state"
of triggers after the transaction has started. AIUI you also have to
make the foreign key constraint "deferrable" otherwise you can't defer
it in any case.
This is incidently what Tom suggested.
Have a nice day,
--
Martijn van Oosterhout <kleptog(at)svana(dot)org> http://svana.org/kleptog/
> From each according to his ability. To each according to his ability to litigate.
From | Date | Subject | |
---|---|---|---|
Next Message | Alban Hertroys | 2007-01-11 14:10:11 | Re: TRIGGER BEFORE INSERT |
Previous Message | Adam Rich | 2007-01-11 14:03:48 | Re: Optimize expresiions. |