summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>2020-02-12 14:13:13 -0500
committerTom Lane <tgl@sss.pgh.pa.us>2020-02-12 14:13:13 -0500
commit804a650e4b0cddca546ddb37c7785c93b0752d07 (patch)
treec79f6631064d93a6624f2a9aa5b7e25602b87bd0 /src
parentcbb59546a0279046287a5f284a38cfd12ea4a953 (diff)
Doc: fix old oversights in GRANT/REVOKE documentation.
The GRANTED BY clause in GRANT/REVOKE ROLE has been there since 2005 but was never documented. I'm not sure now whether that was just an oversight or was intentional (given the limited capability of the option). But seeing that pg_dumpall does emit code that uses this option, it seems like not documenting it at all is a bad idea. Also, when we upgraded the syntax to allow CURRENT_USER/SESSION_USER as the privilege recipient, the role form of GRANT was incorrectly not modified to show that, and REVOKE's docs weren't touched at all. Although I'm not that excited about GRANTED BY, the other oversight seems serious enough to justify a back-patch. Discussion: https://postgr.es/m/3070.1581526786@sss.pgh.pa.us
Diffstat (limited to 'src')
0 files changed, 0 insertions, 0 deletions