pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: mallah@trade-india.com
To: pgsql-sql@postgresql.org
Subject: disabling triggers
Date: Tue, 17 Jun 2003 23:04:14 +0530 (IST)
Message-ID: <1164.219.65.230.103.1055871254.squirrel@mail.trade-india.com> (raw)


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/





view thread (8+ messages)  latest in thread

Message-ID: <1164.219.65.230.103.1055871254.squirrel@mail.trade-india.com>
Permalink:  ../1164.219.65.230.103.1055871254.squirrel@mail.trade-india.com/
Also on:    postgresql.org/message-id/1164.219.65.230.103.1055871254.squirrel@mail.trade-india.com

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-sql@postgresql.org
  Cc: mallah@trade-india.com
  Subject: Re: disabling triggers
  In-Reply-To: <1164.219.65.230.103.1055871254.squirrel@mail.trade-india.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox