当前位置:   article > 正文

在pg中禁用触发器_pg关闭触发器

pg关闭触发器


The ability to temporarily enable or disable a trigger is provided by ALTER TABLE, not by ALTER TRIGGER, because ALTER TRIGGER has no convenient way to express the option of enabling or disabling all of a table's triggers at once.

参考:
https://www.postgresql.org/docs/current/static/sql-altertrigger.html

https://www.postgresql.org/docs/current/static/sql-altertable.html

alter table tab_xxx enable trigger [ trigger_name | ALL | USER ]



声明:本文内容由网友自发贡献,不代表【wpsshop博客】立场,版权归原作者所有,本站不承担相应法律责任。如您发现有侵权的内容,请联系我们。转载请注明出处:https://www.wpsshop.cn/w/酷酷是懒虫/article/detail/785994
推荐阅读
相关标签
  

闽ICP备14008679号