Interacting with RDS as a true superuser (rdsadmin) or how to grant user access to modify pg_catalog tables?

0

Hello, I'm currently using RDS Postgres (Postgres v14 if it matters) and I've hit an issue with corrupted content of pg_catalog tables (pg_class in this case) rendering the DB mostly unusable. I'm stuck on error

pg_dump: error: schema with OID xxxxxxx does not exist

when trying to dump a schema.

The master user for the instance however does not have permissions to modify any of the tables' content, nor is it possible to grant him the privileges to do so.

Is there a way around this?

I understand rdsadmin is only used internally by RDS to manage the instance and there is a reason for this limitation, but is there a workaround to handle this scenario without having to replace the whole RDS instance?

Thanks!

1回答
0

Hi there.

You should open a support case to review what is causing this corruption. There is no workaround for the permissions issue. Your best option is the support case.

I hope this helps.

profile pictureAWS
エキスパート
回答済み 8ヶ月前

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

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

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

関連するコンテンツ