disabling triggers

From: <mallah(at)trade-india(dot)com>
To: <pgsql-sql(at)postgresql(dot)org>
Subject: disabling triggers
Date: 2003-06-17 17:34:14
Message-ID: 1164.219.65.230.103.1055871254.squirrel@mail.trade-india.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-sql


Hi,

Is setting reltriggers=0 on pg_class an accepatble way of
disabling triggers on a table temporarily?

secondly is it worth having commands like
alter trigger <triggername> inactive;
alter trigger <triggername> active ;
i feel such commands exists on Oracle.

sometime we need to bulk update tables from backdoor
and we feel the trigger execution to be unneccessary.

regds
mallah.

-----------------------------------------
Get your free web based email at trade-india.com.
"India's Leading B2B eMarketplace.!"
http://www.trade-india.com/

Responses

Browse pgsql-sql by date

  From Date Subject
Next Message Josh Berkus 2003-06-17 17:58:44 Re: disabling triggers
Previous Message Josh Berkus 2003-06-17 16:23:34 Re: Object-Relational table design question