Re: Disable Trigger

Поиск
Список
Период
Сортировка
От Bruce Momjian
Тема Re: Disable Trigger
Дата
Msg-id 200403232138.i2NLcQD03588@candle.pha.pa.us
обсуждение исходный текст
Ответ на Disable Trigger  (Charles Haron <charles.haron@cognitive.com>)
Список 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 по дате отправления:

Предыдущее
От: Charles Haron
Дата:
Сообщение: Disable Trigger
Следующее
От: Hemapriya
Дата:
Сообщение: process list