在pg_catalog.pg_largeobject上执行SELECT查询失败,并出现权限错误。

0

【以下的问题经过翻译处理】 你好,

我正在使用一个框架,需要访问pg_catalog.pg_largeobject,但是主用户好像没有访问该表的权限。 即使执行GRANT SELECT ON pg_catalog.pg_largeobject TO $MASTER_USER也会失败并显示“ERROR: role $MASTER_USER does not exist”。

请问有没有什么方式可以访问该表? 我知道有一些表是主用户无法访问的,比如pg_authid,但我想确认一下这个表是否就是其中之一。

RDS: Aurora Serverless v1 PostgreSQL10

谢谢。

profile picture
EXPERT
asked 8 months ago79 views
1 Answer
0

【以下的回答经过翻译处理】 很遗憾,Aurora Serverless v1的PostgreSQL 10不支持访问pg_largeobject表。该表只能在Aurora PostgreSQL v11及以上版本中使用,但Aurora Serverless不支持v11或更高版本。如果您需要访问此表,则需要升级到Aurora Serverless v2或使用Aurora PostgreSQL v11。

profile picture
EXPERT
answered 8 months ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions