Content-Length: 258555 | pFad | http://github.com/postgrespro/postgres/commit/102de3be73345a8de443355e055c10762b08cc4c

FC Add missing command for pg_maintain in comment · postgrespro/postgres@102de3b · GitHub
Skip to content

Commit 102de3b

Browse files
Add missing command for pg_maintain in comment
The comment in pg_class_aclmask_ext() which lists the allowed commands for 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 parent 7702337 commit 102de3b

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, and REINDEX on all relations.
3452+
* MATERIALIZED VIEW, REINDEX, and LOCK TABLE on all relations.
34533453
*/
34543454
if (mask & ACL_MAINTAIN &&
34553455
!(result & ACL_MAINTAIN) &&

0 commit comments

Comments
 (0)








ApplySandwichStrip

pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier!      Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

Fetched URL: http://github.com/postgrespro/postgres/commit/102de3be73345a8de443355e055c10762b08cc4c

Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy