Disabling triggers on RDS Postgres

Viewed 1260

I am trying to disable triggers on Postgres on RDS with the following statement:

ALTER TABLE table_name DISABLE TRIGGER ALL;

But I get the following error:

sqlalchemy.exc.ProgrammingError: (psycopg2.errors.InsufficientPrivilege) permission denied: "RI_ConstraintTrigger_a_16536" is a system trigger.

Is there any way to remove triggers on RDS, as I cannot give myself SUPERUSER privileges on RDS? I've looked at a bunch of articles and haven't found a suitable solution.

0 Answers
Related