Is there a way to cancel an automatic vacuum in rds postgresql? When running
select pg_cancel_backend(...);
select pg_terminate_backend(...);
with a user that has the rds_superuser role an error occurs:
- ERROR: must be a superuser to cancel superuser query
- ERROR: must be a superuser to terminate superuser process