Re: Enable/Disable triggers

From: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
To: Josué Maldonado <josue(at)lamundial(dot)hn>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: Enable/Disable triggers
Date: 2004-03-04 16:33:12
Message-ID: 200403041633.i24GXCW14924@candle.pha.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Josu Maldonado wrote:
> Hello list,
>
> Is there a way to disable temporary all the triggers of a table or
> database and then enable them back?

See the PostgreSQL cookbook for sample implementation function. You
have to muck with the system tables. This is on the TODO list.

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

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Tom Lane 2004-03-04 16:47:48 Re: Aggregate function capability with \d in psql
Previous Message Tom Lane 2004-03-04 16:24:11 Re: REFERENCES error message complaint, suggestion