diff options
author | Andrew Dunstan <andrew@dunslane.net> | 2022-03-22 09:06:15 -0400 |
---|---|---|
committer | Andrew Dunstan <andrew@dunslane.net> | 2022-03-22 10:28:31 -0400 |
commit | d11e84ea466b4e3855d7bd5142fb68f51c273567 (patch) | |
tree | 5bb1bf60ef69eaefd8a622c42f58b2550cb630bc /src/include/nodes/parsenodes.h | |
parent | 29992a6a509b256efc4ac560a1586b51a64b2637 (diff) | |
download | postgresql-d11e84ea466b4e3855d7bd5142fb68f51c273567.tar.gz postgresql-d11e84ea466b4e3855d7bd5142fb68f51c273567.zip |
Add String object access hooks
This caters for cases where the access is to an object identified by
name rather than Oid.
The first user of these is the GUC access controls
Joshua Brindle and Mark Dilger
Discussion: https://postgr.es/m/47F87A0E-C0E5-43A6-89F6-D403F2B45175@enterprisedb.com
Diffstat (limited to 'src/include/nodes/parsenodes.h')
-rw-r--r-- | src/include/nodes/parsenodes.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/include/nodes/parsenodes.h b/src/include/nodes/parsenodes.h index 6f83a79a96c..2f618cb2292 100644 --- a/src/include/nodes/parsenodes.h +++ b/src/include/nodes/parsenodes.h @@ -92,7 +92,9 @@ typedef uint32 AclMode; /* a bitmask of privilege bits */ #define ACL_CREATE (1<<9) /* for namespaces and databases */ #define ACL_CREATE_TEMP (1<<10) /* for databases */ #define ACL_CONNECT (1<<11) /* for databases */ -#define N_ACL_RIGHTS 12 /* 1 plus the last 1<<x */ +#define ACL_SET_VALUE (1<<12) /* for configuration parameters */ +#define ACL_ALTER_SYSTEM (1<<13) /* for configuration parameters */ +#define N_ACL_RIGHTS 14 /* 1 plus the last 1<<x */ #define ACL_NO_RIGHTS 0 /* Currently, SELECT ... FOR [KEY] UPDATE/SHARE requires UPDATE privileges */ #define ACL_SELECT_FOR_UPDATE ACL_UPDATE |