Update comment
authorPeter Eisentraut <peter@eisentraut.org>
Wed, 8 Mar 2023 13:22:06 +0000 (14:22 +0100)
committerPeter Eisentraut <peter@eisentraut.org>
Wed, 8 Mar 2023 13:22:06 +0000 (14:22 +0100)
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.

src/include/nodes/parsenodes.h

index 259e8142538d8042ae70bfda4db3f8059bf8aedb..371aa0ffc56b64a0cc268ec268529161afc84378 100644 (file)
@@ -88,8 +88,7 @@ typedef uint64 AclMode;                       /* a bitmask of privilege bits */
 #define ACL_REFERENCES (1<<5)
 #define ACL_TRIGGER            (1<<6)
 #define ACL_EXECUTE            (1<<7)  /* for functions */
-#define ACL_USAGE              (1<<8)  /* for languages, namespaces, FDWs, and
-                                                                * servers */
+#define ACL_USAGE              (1<<8)  /* for various object types */
 #define ACL_CREATE             (1<<9)  /* for namespaces and databases */
 #define ACL_CREATE_TEMP (1<<10) /* for databases */
 #define ACL_CONNECT            (1<<11) /* for databases */