pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: Doc: clarify behavior of ALTER DEFAULT PRIVILEGES ... IN SCHEMA.
Date: Tue, 19 Nov 2019 19:22:02 +0000
Message-ID: <E1iX94c-00019G-8d@gemulon.postgresql.org> (raw)

Doc: clarify behavior of ALTER DEFAULT PRIVILEGES ... IN SCHEMA.

The existing text stated that "Default privileges that are specified
per-schema are added to whatever the global default privileges are for
the particular object type".  However, that bare-bones observation is
not quite clear enough, as demonstrated by the complaint in bug #16124.
Flesh it out by stating explicitly that you can't revoke built-in
default privileges this way, and by providing an example to drive
the point home.

Back-patch to all supported branches, since it's been like this
from the beginning.

Discussion: https://postgr.es/m/16124-423d8ee4358421bc@postgresql.org

Branch
------
REL_12_STABLE

Details
-------
https://git.postgresql.org/pg/commitdiff/93b2bbede91b32d12d9e444e576be2efff6942b5

Modified Files
--------------
doc/src/sgml/ref/alter_default_privileges.sgml | 30 ++++++++++++++++++++------
1 file changed, 23 insertions(+), 7 deletions(-)



view thread (7+ messages)  latest in thread

Message-ID: <E1iX94c-00019G-8d@gemulon.postgresql.org>
Permalink:  ../E1iX94c-00019G-8d@gemulon.postgresql.org/
Also on:    postgresql.org/message-id/E1iX94c-00019G-8d@gemulon.postgresql.org

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-committers@postgresql.org
  Cc: tgl@sss.pgh.pa.us
  Subject: Re: pgsql: Doc: clarify behavior of ALTER DEFAULT PRIVILEGES ... IN SCHEMA.
  In-Reply-To: <E1iX94c-00019G-8d@gemulon.postgresql.org>
  References: <E1iX94c-00019G-8d@gemulon.postgresql.org>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

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