在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
demandé il y a 8 mois79 vues
1 réponse
0

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

profile picture
EXPERT
répondu il y a 8 mois

Vous n'êtes pas connecté. Se connecter pour publier une réponse.

Une bonne réponse répond clairement à la question, contient des commentaires constructifs et encourage le développement professionnel de la personne qui pose la question.

Instructions pour répondre aux questions