disabling triggers? - Mailing list pgsql-general

From Bob Parkinson
Subject disabling triggers?
Date
Msg-id Pine.OSF.4.21.0007181603140.15419-100000@omni.ac.uk
Whole thread Raw
Responses Re: disabling triggers?  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-general
Hi,

I've noticed the recent query about dropping a function with a trigger.

I've got a trigger/function pair that I need to disable while I do a
manual update. Is it safe to drop the trigger, then re-create it on its
own, or should I do the trigger/function pair.

Is there a better method of temporarily disabling a trigger?

Cheers,

Bob

Bob Parkinson
rwp@biome.ac.uk
------------------------------------------------------------------
Technical Manager:         Biome             http://biome.ac.uk/

Greenfield Medical Library,
Queens Medical Centre,
Nottingham.                          0115 9249924 x 42059
------------------------------------------------------------------
                        We are stardust


pgsql-general by date:

Previous
From: "Alex Bolenok"
Date:
Subject: Re: Migrating from MS SQL server
Next
From: Tom Lane
Date:
Subject: Re: ordering of 'where' sub clauses