Don't like ads? PRO users don't see any ads ;-)
Guest

Untitled

By: a guest on May 28th, 2012  |  syntax: None  |  size: 0.26 KB  |  hits: 13  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1. How to disable triggers in PostgreSQL 9?
  2. ALTER TABLE table DISABLE TRIGGER ALL;
  3.        
  4. my_database=> ALTER TABLE my_table DISABLE TRIGGER ALL;
  5. ERROR:  permission denied: "RI_ConstraintTrigger_25366" is a system trigger
  6.        
  7. ALTER TABLE table DISABLE TRIGGER USER;