Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 822e8e2

Browse files
committed
Update comment
There was apparently an attempt here to list all the object types that ACL_USAGE applies to, but it wasn't complete. So instead of trying to keep up, put in a more timeless comment.
1 parent daa8365 commit 822e8e2

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/include/nodes/parsenodes.h

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -88,8 +88,7 @@ typedef uint64 AclMode; /* a bitmask of privilege bits */
8888
#define ACL_REFERENCES (1<<5)
8989
#define ACL_TRIGGER (1<<6)
9090
#define ACL_EXECUTE (1<<7) /* for functions */
91-
#define ACL_USAGE (1<<8) /* for languages, namespaces, FDWs, and
92-
* servers */
91+
#define ACL_USAGE (1<<8) /* for various object types */
9392
#define ACL_CREATE (1<<9) /* for namespaces and databases */
9493
#define ACL_CREATE_TEMP (1<<10) /* for databases */
9594
#define ACL_CONNECT (1<<11) /* for databases */

0 commit comments

Comments
 (0)