PSQL remove foreign key contstraint on table code example Example: how to disable foreign key constraint in postgresql ALTER TABLE tbl_StudentMarks DISABLE TRIGGER ALL;