Mallah,

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

Yes.  pg_dump does this.

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

No, since DROP TRIGGER ... CREATE TRIGGER does the same thing in Postgres.

-- 
-Josh Berkus
 Aglio Database Solutions
 San Francisco


---------------------------(end of broadcast)---------------------------
TIP 3: if posting/reading through Usenet, please send an appropriate
      subscribe-nomail command to [EMAIL PROTECTED] so that your
      message can get through to the mailing list cleanly

Reply via email to