Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit102de3b

Browse files
Add missing command for pg_maintain in comment
The comment in pg_class_aclmask_ext() which lists the allowed commandsfor the pg_maintain role lacked LOCK TABLE.Reported-by: Yusuke Sugie <btsugieyuusuke@oss.nttdata.com>Reviewed-by: Yugo Nagata <nagata@sraoss.co.jp>Discussion:https://postgr.es/m/034d3c60f5daba1919cd90f236b2e22d@oss.nttdata.com
1 parent7702337 commit102de3b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

‎src/backend/catalog/aclchk.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3449,7 +3449,7 @@ pg_class_aclmask_ext(Oid table_oid, Oid roleid, AclMode mask,
34493449
* Check if ACL_MAINTAIN is being checked and, if so, and not already set
34503450
* as part of the result, then check if the user is a member of the
34513451
* pg_maintain role, which allows VACUUM, ANALYZE, CLUSTER, REFRESH
3452-
* MATERIALIZED VIEW, andREINDEX on all relations.
3452+
* MATERIALIZED VIEW,REINDEX,andLOCK TABLE on all relations.
34533453
*/
34543454
if (mask&ACL_MAINTAIN&&
34553455
!(result&ACL_MAINTAIN)&&

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp