Re: triggers and FK cascades - Mailing list pgsql-general

From Vincent Veyron
Subject Re: triggers and FK cascades
Date
Msg-id 1300563633.2407.2.camel@asus-1001PX.home
Whole thread Raw
In response to Re: triggers and FK cascades  (Grzegorz Jaśkiewicz <gryzman@gmail.com>)
List pgsql-general
Le vendredi 18 mars 2011 à 08:20 +0000, Grzegorz Jaśkiewicz a écrit :
> There's a generic trigger that sends a signal to a process whenever
> changes are made (via listen/notify mechanism), but when FK cascade
> fires it will cause a mass amount of notifies to be send out and I
> want to avoid it.
>

I have no personal experience with this, but citing an answer to a
similar question by Vibhor Kumar from a couple days ago :

use following command:
ALTER TABLE <tablename> DISABLE TRIGGER [ trigger_name | ALL | USER ]

--
Vincent Veyron
http://marica.fr/
Logiciel de gestion des sinistres pour le service juridique


pgsql-general by date:

Previous
From: Stefan Keller
Date:
Subject: Re: Insert value input syntax of an array of types without ARRAY/ROW nor casting?
Next
From: Vibhor Kumar
Date:
Subject: Re: Insert value input syntax of an array of types without ARRAY/ROW nor casting?