| From: | Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> |
|---|---|
| To: | pgsql-committers(at)postgresql(dot)org |
| Subject: | pgsql: Doc: fix missing explanation of default object privileges. |
| Date: | 2017-10-11 20:57:34 |
| Message-ID: | E1e2O4M-0006tV-BI@gemulon.postgresql.org |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-committers |
Doc: fix missing explanation of default object privileges.
The GRANT reference page, which lists the default privileges for new
objects, failed to mention that USAGE is granted by default for data
types and domains. As a lesser sin, it also did not specify anything
about the initial privileges for sequences, FDWs, foreign servers,
or large objects. Fix that, and add a comment to acldefault() in the
probably vain hope of getting people to maintain this list in future.
Noted by Laurenz Albe, though I editorialized on the wording a bit.
Back-patch to all supported branches, since they all have this behavior.
Discussion: https://postgr.es/m/1507620895.4152.1.camel@cybertec.at
Branch
------
REL9_6_STABLE
Details
-------
https://git.postgresql.org/pg/commitdiff/19989d8480d4e802dd85fd6a16cdb8fbb0fcc1b2
Modified Files
--------------
doc/src/sgml/ref/grant.sgml | 20 +++++++++++++++-----
src/backend/utils/adt/acl.c | 4 +++-
2 files changed, 18 insertions(+), 6 deletions(-)
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Andres Freund | 2017-10-11 21:10:32 | pgsql: Prevent idle in transaction session timeout from sometimes being |
| Previous Message | Robert Haas | 2017-10-11 20:00:48 | pgsql: Fix mistakes in comments. |