Triggers

ALTER TABLE ... ENABLE/DISABLE TRIGGER

Lock mode SHARE ROW EXCLUSIVE
Risk LOW
Blocks writes, other DDL
pgfence rule enable-disable-trigger
ALTER TABLE orders DISABLE TRIGGER orders_set_updated_at;

What this does

Same lock mode as CREATE TRIGGER: blocks concurrent writes and other DDL, but not reads.

Read more

More in Triggers