How to perform update on pg_index

0

We are using a RDS Postgres 15 and have a use case that requires disabling specific indexes using pg_index table but all attempts result in ERROR: permission denied for table pg_index . We've tried granting permissions and altering schema but still receive the same error.

Thanks for any assistance

Steve
질문됨 4달 전427회 조회
1개 답변
0

Hi,

Regrettably disabling indexes using pg_index will not be possible as pg_index is owned by rdsadmin:

postgres=> \dt+ pg_index
                              List of relations
   Schema   |   Name   | Type  |  Owner   | Persistence | Size  | Description
------------+----------+-------+----------+-------------+-------+-------------
 pg_catalog | pg_index | table | rdsadmin | permanent   | 56 kB |
(1 row)

Users within RDS are not allowed to modify system catalogs in RDS/Aurora PostgreSQL.

AWS
지원 엔지니어
Kyle_B
답변함 2달 전

로그인하지 않았습니다. 로그인해야 답변을 게시할 수 있습니다.

좋은 답변은 질문에 명확하게 답하고 건설적인 피드백을 제공하며 질문자의 전문적인 성장을 장려합니다.

질문 답변하기에 대한 가이드라인

관련 콘텐츠