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!

mgrby
已提問 8 個月前檢視次數 366 次
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 個月前

您尚未登入。 登入 去張貼答案。

一個好的回答可以清楚地回答問題並提供建設性的意見回饋,同時有助於提問者的專業成長。

回答問題指南