pg.ddx.io pgsql-committers@postgresql.org mailing list archivehelp / color / mirror / Atom feed
pgsql: Doc: fix old oversights in GRANT/REVOKE documentation. 6+ messages / 1 participants [nested] [flat]
* pgsql: Doc: fix old oversights in GRANT/REVOKE documentation. @ 2020-02-12 19:13 Tom Lane <tgl@sss.pgh.pa.us> 0 siblings, 0 replies; 6+ messages in thread From: Tom Lane @ 2020-02-12 19:13 UTC (permalink / raw) To: pgsql-committers@lists.postgresql.org 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 Branch ------ master Details ------- https://git.postgresql.org/pg/commitdiff/dce988145f7e455f224310afec6b06bcf3eed24e Modified Files -------------- doc/src/sgml/ref/grant.sgml | 24 ++++++++++++++++++++---- doc/src/sgml/ref/revoke.sgml | 42 +++++++++++++++++++++++++++--------------- 2 files changed, 47 insertions(+), 19 deletions(-) ^ permalink raw reply [nested|flat] 6+ messages in thread
* pgsql: Doc: fix old oversights in GRANT/REVOKE documentation. @ 2020-02-12 19:13 Tom Lane <tgl@sss.pgh.pa.us> 0 siblings, 0 replies; 6+ messages in thread From: Tom Lane @ 2020-02-12 19:13 UTC (permalink / raw) To: pgsql-committers@lists.postgresql.org 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 Branch ------ REL_12_STABLE Details ------- https://git.postgresql.org/pg/commitdiff/2efefd28add2b91da87739b52d04522a61676fc9 Modified Files -------------- doc/src/sgml/ref/grant.sgml | 24 ++++++++++++++++++++---- doc/src/sgml/ref/revoke.sgml | 42 +++++++++++++++++++++++++++--------------- 2 files changed, 47 insertions(+), 19 deletions(-) ^ permalink raw reply [nested|flat] 6+ messages in thread
* pgsql: Doc: fix old oversights in GRANT/REVOKE documentation. @ 2020-02-12 19:13 Tom Lane <tgl@sss.pgh.pa.us> 0 siblings, 0 replies; 6+ messages in thread From: Tom Lane @ 2020-02-12 19:13 UTC (permalink / raw) To: pgsql-committers@lists.postgresql.org 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 Branch ------ REL_11_STABLE Details ------- https://git.postgresql.org/pg/commitdiff/736ba917f4849915b70794f291f85dedd890d2f8 Modified Files -------------- doc/src/sgml/ref/grant.sgml | 24 ++++++++++++++++++++---- doc/src/sgml/ref/revoke.sgml | 42 +++++++++++++++++++++++++++--------------- 2 files changed, 47 insertions(+), 19 deletions(-) ^ permalink raw reply [nested|flat] 6+ messages in thread
* pgsql: Doc: fix old oversights in GRANT/REVOKE documentation. @ 2020-02-12 19:13 Tom Lane <tgl@sss.pgh.pa.us> 0 siblings, 0 replies; 6+ messages in thread From: Tom Lane @ 2020-02-12 19:13 UTC (permalink / raw) To: pgsql-committers@lists.postgresql.org 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 Branch ------ REL_10_STABLE Details ------- https://git.postgresql.org/pg/commitdiff/a56c495873c8a507534c3a98217664d2684497a5 Modified Files -------------- doc/src/sgml/ref/grant.sgml | 24 +++++++++++++++++++---- doc/src/sgml/ref/revoke.sgml | 46 ++++++++++++++++++++++++++++---------------- 2 files changed, 49 insertions(+), 21 deletions(-) ^ permalink raw reply [nested|flat] 6+ messages in thread
* pgsql: Doc: fix old oversights in GRANT/REVOKE documentation. @ 2020-02-12 19:13 Tom Lane <tgl@sss.pgh.pa.us> 0 siblings, 0 replies; 6+ messages in thread From: Tom Lane @ 2020-02-12 19:13 UTC (permalink / raw) To: pgsql-committers@lists.postgresql.org 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 Branch ------ REL9_6_STABLE Details ------- https://git.postgresql.org/pg/commitdiff/804a650e4b0cddca546ddb37c7785c93b0752d07 Modified Files -------------- doc/src/sgml/ref/grant.sgml | 24 +++++++++++++++++++---- doc/src/sgml/ref/revoke.sgml | 46 ++++++++++++++++++++++++++++---------------- 2 files changed, 49 insertions(+), 21 deletions(-) ^ permalink raw reply [nested|flat] 6+ messages in thread
* pgsql: Doc: fix old oversights in GRANT/REVOKE documentation. @ 2020-02-12 19:13 Tom Lane <tgl@sss.pgh.pa.us> 0 siblings, 0 replies; 6+ messages in thread From: Tom Lane @ 2020-02-12 19:13 UTC (permalink / raw) To: pgsql-committers@lists.postgresql.org 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 Branch ------ REL9_5_STABLE Details ------- https://git.postgresql.org/pg/commitdiff/2b9d4ec1d3c0da473232a9c1b065b976e3a2d13e Modified Files -------------- doc/src/sgml/ref/grant.sgml | 24 +++++++++++++++++++---- doc/src/sgml/ref/revoke.sgml | 46 ++++++++++++++++++++++++++++---------------- 2 files changed, 49 insertions(+), 21 deletions(-) ^ permalink raw reply [nested|flat] 6+ messages in thread
end of thread, other threads:[~2020-02-12 19:13 UTC | newest] Thread overview: 6+ messages (download: mbox mbox.gz follow: Atom feed) -- links below jump to the message on this page -- 2020-02-12 19:13 pgsql: Doc: fix old oversights in GRANT/REVOKE documentation. Tom Lane <tgl@sss.pgh.pa.us> 2020-02-12 19:13 pgsql: Doc: fix old oversights in GRANT/REVOKE documentation. Tom Lane <tgl@sss.pgh.pa.us> 2020-02-12 19:13 pgsql: Doc: fix old oversights in GRANT/REVOKE documentation. Tom Lane <tgl@sss.pgh.pa.us> 2020-02-12 19:13 pgsql: Doc: fix old oversights in GRANT/REVOKE documentation. Tom Lane <tgl@sss.pgh.pa.us> 2020-02-12 19:13 pgsql: Doc: fix old oversights in GRANT/REVOKE documentation. Tom Lane <tgl@sss.pgh.pa.us> 2020-02-12 19:13 pgsql: Doc: fix old oversights in GRANT/REVOKE documentation. Tom Lane <tgl@sss.pgh.pa.us>
This inbox is served by DDX for PostgreSQL; see mirroring instructions for how to clone and mirror all data and code used for this inbox