pgsql: Doc: clarify behavior of ALTER DEFAULT PRIVILEGES ... IN SCHEMA. - Mailing list pgsql-committers

From Tom Lane
Subject pgsql: Doc: clarify behavior of ALTER DEFAULT PRIVILEGES ... IN SCHEMA.
Date
Msg-id E1iX94c-00019L-9n@gemulon.postgresql.org
Whole thread Raw
List pgsql-committers
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_10_STABLE

Details
-------
https://git.postgresql.org/pg/commitdiff/d30e0ed55c6bba632f491fa8db2c2bbde33330c3

Modified Files
--------------
doc/src/sgml/ref/alter_default_privileges.sgml | 34 +++++++++++++++++++-------
1 file changed, 25 insertions(+), 9 deletions(-)


pgsql-committers by date:

Previous
From: Thomas Munro
Date:
Subject: pgsql: Allow invisible PROMPT2 in psql.
Next
From: Tom Lane
Date:
Subject: pgsql: Doc: clarify use of RECURSIVE in WITH.