Search Postgresql Archives

Re: TRIGGER BEFORE INSERT

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxx>   http://svana.org/kleptog/
> From each according to his ability. To each according to his ability to litigate.

Attachment: signature.asc
Description: Digital signature


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Postgresql Jobs]     [Postgresql Admin]     [Postgresql Performance]     [Linux Clusters]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [PHP Books]     [PHP Databases]     [Postgresql & PHP]     [Yosemite]
  Powered by Linux