Use a different approach to disable triggers temporarily

(which doesn't require superuser privileges)