Re: triggers and FK cascades

Поиск
Список
Период
Сортировка
От Vincent Veyron
Тема Re: triggers and FK cascades
Дата
Msg-id 1300563633.2407.2.camel@asus-1001PX.home
обсуждение исходный текст
Ответ на Re: triggers and FK cascades  (Grzegorz Jaśkiewicz <gryzman@gmail.com>)
Список 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 по дате отправления:

Предыдущее
От: Stefan Keller
Дата:
Сообщение: Re: Insert value input syntax of an array of types without ARRAY/ROW nor casting?
Следующее
От: Vibhor Kumar
Дата:
Сообщение: Re: Insert value input syntax of an array of types without ARRAY/ROW nor casting?