pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
pgsql: Doc: clarify behavior of ALTER DEFAULT PRIVILEGES ... IN SCHEMA.
7+ messages / 1 participants
[nested] [flat]

* pgsql: Doc: clarify behavior of ALTER DEFAULT PRIVILEGES ... IN SCHEMA.
@ 2019-11-19 19:22 Tom Lane <tgl@sss.pgh.pa.us>
  0 siblings, 0 replies; 7+ messages in thread

From: Tom Lane @ 2019-11-19 19:22 UTC (permalink / raw)
  To: pgsql-committers@lists.postgresql.org

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
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/787b3fd33fb3089bf80d49ef9948a6ec85005d04

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



^ permalink  raw  reply  [nested|flat] 7+ messages in thread

* pgsql: Doc: clarify behavior of ALTER DEFAULT PRIVILEGES ... IN SCHEMA.
@ 2019-11-19 19:22 Tom Lane <tgl@sss.pgh.pa.us>
  0 siblings, 0 replies; 7+ messages in thread

From: Tom Lane @ 2019-11-19 19:22 UTC (permalink / raw)
  To: pgsql-committers@lists.postgresql.org

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(-)



^ permalink  raw  reply  [nested|flat] 7+ messages in thread

* pgsql: Doc: clarify behavior of ALTER DEFAULT PRIVILEGES ... IN SCHEMA.
@ 2019-11-19 19:22 Tom Lane <tgl@sss.pgh.pa.us>
  0 siblings, 0 replies; 7+ messages in thread

From: Tom Lane @ 2019-11-19 19:22 UTC (permalink / raw)
  To: pgsql-committers@lists.postgresql.org

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_11_STABLE

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

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



^ permalink  raw  reply  [nested|flat] 7+ messages in thread

* pgsql: Doc: clarify behavior of ALTER DEFAULT PRIVILEGES ... IN SCHEMA.
@ 2019-11-19 19:22 Tom Lane <tgl@sss.pgh.pa.us>
  0 siblings, 0 replies; 7+ messages in thread

From: Tom Lane @ 2019-11-19 19:22 UTC (permalink / raw)
  To: pgsql-committers@lists.postgresql.org

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(-)



^ permalink  raw  reply  [nested|flat] 7+ messages in thread

* pgsql: Doc: clarify behavior of ALTER DEFAULT PRIVILEGES ... IN SCHEMA.
@ 2019-11-19 19:22 Tom Lane <tgl@sss.pgh.pa.us>
  0 siblings, 0 replies; 7+ messages in thread

From: Tom Lane @ 2019-11-19 19:22 UTC (permalink / raw)
  To: pgsql-committers@lists.postgresql.org

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
------
REL9_6_STABLE

Details
-------
https://git.postgresql.org/pg/commitdiff/611a4aba15f0e9ef8ef710454bd0ecb4f671eb39

Modified Files
--------------
doc/src/sgml/ref/alter_default_privileges.sgml | 28 ++++++++++++++++++++------
1 file changed, 22 insertions(+), 6 deletions(-)



^ permalink  raw  reply  [nested|flat] 7+ messages in thread

* pgsql: Doc: clarify behavior of ALTER DEFAULT PRIVILEGES ... IN SCHEMA.
@ 2019-11-19 19:22 Tom Lane <tgl@sss.pgh.pa.us>
  0 siblings, 0 replies; 7+ messages in thread

From: Tom Lane @ 2019-11-19 19:22 UTC (permalink / raw)
  To: pgsql-committers@lists.postgresql.org

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
------
REL9_5_STABLE

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

Modified Files
--------------
doc/src/sgml/ref/alter_default_privileges.sgml | 28 ++++++++++++++++++++------
1 file changed, 22 insertions(+), 6 deletions(-)



^ permalink  raw  reply  [nested|flat] 7+ messages in thread

* pgsql: Doc: clarify behavior of ALTER DEFAULT PRIVILEGES ... IN SCHEMA.
@ 2019-11-19 19:22 Tom Lane <tgl@sss.pgh.pa.us>
  0 siblings, 0 replies; 7+ messages in thread

From: Tom Lane @ 2019-11-19 19:22 UTC (permalink / raw)
  To: pgsql-committers@lists.postgresql.org

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
------
REL9_4_STABLE

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

Modified Files
--------------
doc/src/sgml/ref/alter_default_privileges.sgml | 28 ++++++++++++++++++++------
1 file changed, 22 insertions(+), 6 deletions(-)



^ permalink  raw  reply  [nested|flat] 7+ messages in thread


end of thread, other threads:[~2019-11-19 19:22 UTC | newest]

Thread overview: 7+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2019-11-19 19:22 pgsql: Doc: clarify behavior of ALTER DEFAULT PRIVILEGES ... IN SCHEMA. Tom Lane <tgl@sss.pgh.pa.us>
2019-11-19 19:22 pgsql: Doc: clarify behavior of ALTER DEFAULT PRIVILEGES ... IN SCHEMA. Tom Lane <tgl@sss.pgh.pa.us>
2019-11-19 19:22 pgsql: Doc: clarify behavior of ALTER DEFAULT PRIVILEGES ... IN SCHEMA. Tom Lane <tgl@sss.pgh.pa.us>
2019-11-19 19:22 pgsql: Doc: clarify behavior of ALTER DEFAULT PRIVILEGES ... IN SCHEMA. Tom Lane <tgl@sss.pgh.pa.us>
2019-11-19 19:22 pgsql: Doc: clarify behavior of ALTER DEFAULT PRIVILEGES ... IN SCHEMA. Tom Lane <tgl@sss.pgh.pa.us>
2019-11-19 19:22 pgsql: Doc: clarify behavior of ALTER DEFAULT PRIVILEGES ... IN SCHEMA. Tom Lane <tgl@sss.pgh.pa.us>
2019-11-19 19:22 pgsql: Doc: clarify behavior of ALTER DEFAULT PRIVILEGES ... IN SCHEMA. 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