Re: Disable Trigger - Mailing list pgsql-admin

From Bruce Momjian
Subject Re: Disable Trigger
Date
Msg-id 200403232138.i2NLcQD03588@candle.pha.pa.us
Whole thread Raw
In response to Disable Trigger  (Charles Haron <charles.haron@cognitive.com>)
List pgsql-admin
Charles Haron wrote:
> Is there a way to temporarily disable a trigger without dropping and
> re-adding it?

You can update the sytem tables by setting the number of triggers to
zero on the table. See the PostgreSQL cookbook for examples.  We have a
TODO item to get this implemented cleanly.

--
  Bruce Momjian                        |  http://candle.pha.pa.us
  pgman@candle.pha.pa.us               |  (610) 359-1001
  +  If your life is a hard drive,     |  13 Roberts Road
  +  Christ can be your backup.        |  Newtown Square, Pennsylvania 19073

pgsql-admin by date:

Previous
From: Charles Haron
Date:
Subject: Disable Trigger
Next
From: Hemapriya
Date:
Subject: process list