>
>
> https://fle.github.io/temporarily-disable-all-indexes-of-a-postgresql-table.html <https://fle.github.io/temporarily-disable-all-indexes-of-a-postgresql-table.html>
This does not work in RDS. In order to update system catalog tables (pg_index), one needs privileges which is
denied in RDS. In RDS terminology, the user must belong to role rdsadmin and that role is reserved only for AWS
internal users.