ACL_MAINTAIN, Lack of comment content

From: btsugieyuusuke <btsugieyuusuke(at)oss(dot)nttdata(dot)com>
To: Pgsql Hackers <pgsql-hackers(at)lists(dot)postgresql(dot)org>
Subject: ACL_MAINTAIN, Lack of comment content
Date: 2024-09-30 08:29:03
Message-ID: 034d3c60f5daba1919cd90f236b2e22d@oss.nttdata.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Hi hackers,
I found a flaw in the ACL_MAINTAIN comment.

Commands such as VACUUM are listed as commands that are allowed to be
executed by the MAINTAIN privilege.
However, LOCK TABLE is missing from the comment.

> /*
> * Check if ACL_MAINTAIN is being checked and, if so, and not already
> set
> * as part of the result, then check if the user is a member of the
> * pg_maintain role, which allows VACUUM, ANALYZE, CLUSTER, REFRESH
> * MATERIALIZED VIEW, and REINDEX on all relations.
> */

Therefore, shouldn't LOCK TABLE be added to the comment?

Best regards,
Yusuke Sugie

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Peter Smith 2024-09-30 08:33:39 Re: Pgoutput not capturing the generated columns
Previous Message Tatsuo Ishii 2024-09-30 08:23:24 Re: Doc: typo in config.sgml