How do I temporarily disable triggers in PostgreSQL?

后端 未结 6 673
我在风中等你
我在风中等你 2020-12-04 07:37

I\'m bulk loading data and can re-calculate all trigger modifications much more cheaply after the fact than on a row-by-row basis.

How can I temporarily disable all

6条回答
  •  一向
    一向 (楼主)
    2020-12-04 08:19

    You can also disable triggers in pgAdmin (III):

    1. Find your table
    2. Expand the +
    3. Find your trigger in Triggers
    4. Right-click, uncheck "Trigger Enabled?"

提交回复
热议问题