public inbox for [email protected]  
help / color / mirror / Atom feed
Documentation of FOR ROLE clause of ALTER DEFAULT PRIVILEGES missing
2+ messages / 2 participants
[nested] [flat]

* Documentation of FOR ROLE clause of ALTER DEFAULT PRIVILEGES missing
@ 2018-02-22 19:50  PG Doc comments form <[email protected]>
  0 siblings, 1 reply; 2+ messages in thread

From: PG Doc comments form @ 2018-02-22 19:50 UTC (permalink / raw)
  To: [email protected]; +Cc: [email protected]

The following documentation comment has been logged on the website:

Page: https://www.postgresql.org/docs/10/static/sql-alterdefaultprivileges.html
Description:

The documentation of ALTER DEFAULT PRIVILEGES statements seems to lack an
elaboration of the FOR ROLE clause.

It specifies what restrictions exist (namely "The name of an existing role
of which the current role is a member."), but what the specified role is
actually used for remains a mystery.

The documentation should read something like: "The default permissions are
only granted on objects created by this role."


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

* Re: Documentation of FOR ROLE clause of ALTER DEFAULT PRIVILEGES missing
@ 2023-11-21 21:49  Bruce Momjian <[email protected]>
  parent: PG Doc comments form <[email protected]>
  0 siblings, 0 replies; 2+ messages in thread

From: Bruce Momjian @ 2023-11-21 21:49 UTC (permalink / raw)
  To: [email protected]; [email protected]

On Thu, Feb 22, 2018 at 07:50:19PM +0000, PG Doc comments form wrote:
> The following documentation comment has been logged on the website:
> 
> Page: https://www.postgresql.org/docs/10/static/sql-alterdefaultprivileges.html
> Description:
> 
> The documentation of ALTER DEFAULT PRIVILEGES statements seems to lack an
> elaboration of the FOR ROLE clause.
> 
> It specifies what restrictions exist (namely "The name of an existing role
> of which the current role is a member."), but what the specified role is
> actually used for remains a mystery.
> 
> The documentation should read something like: "The default permissions are
> only granted on objects created by this role."

I know this is five years late, but we fixed this issue and the new docs
will appear in Postgres 17:

	https://www.postgresql.org/docs/devel/sql-alterdefaultprivileges.html

We felt the doc rewrite was too extensive to backpatch.

-- 
  Bruce Momjian  <[email protected]>        https://momjian.us
  EDB                                      https://enterprisedb.com

  Only you can decide what is important to you.






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


end of thread, other threads:[~2023-11-21 21:49 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2018-02-22 19:50 Documentation of FOR ROLE clause of ALTER DEFAULT PRIVILEGES missing PG Doc comments form <[email protected]>
2023-11-21 21:49 ` Bruce Momjian <[email protected]>

This inbox is served by agora; see mirroring instructions
for how to clone and mirror all data and code used for this inbox