summaryrefslogtreecommitdiff
path: root/src/include/common/logging.h
diff options
context:
space:
mode:
authorPeter Eisentraut2020-09-17 09:39:28 +0000
committerPeter Eisentraut2020-09-17 09:40:08 +0000
commit45b9805706fdc726906fc9187c9a7b38c559755c (patch)
treeef61233750b2bb15746a08f7001d927196f5c965 /src/include/common/logging.h
parent16fa9b2b30a357b4aea982bd878ec2e5e002dbcc (diff)
Allow CURRENT_ROLE where CURRENT_USER is accepted
In the particular case of GRANTED BY, this is specified in the SQL standard. Since in PostgreSQL, CURRENT_ROLE is equivalent to CURRENT_USER, and CURRENT_USER is already supported here, adding CURRENT_ROLE is trivial. The other cases are PostgreSQL extensions, but for the same reason it also makes sense there. Reviewed-by: Vik Fearing <[email protected]> Reviewed-by: Asif Rehman <[email protected]> Reviewed-by: Alvaro Herrera <[email protected]> Discussion: https://www.postgresql.org/message-id/flat/f2feac44-b4c5-f38f-3699-2851d6a76dc9%402ndquadrant.com
Diffstat (limited to 'src/include/common/logging.h')
0 files changed, 0 insertions, 0 deletions