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ヶ月前

ログインしていません。 ログイン 回答を投稿する。

優れた回答とは、質問に明確に答え、建設的なフィードバックを提供し、質問者の専門分野におけるスキルの向上を促すものです。

質問に答えるためのガイドライン

関連するコンテンツ