pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Nathan Bossart <nathan@postgresql.org>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: Revamp documentation for predefined roles.
Date: Wed, 10 Jul 2024 21:38:06 +0000
Message-ID: <E1sRf0o-001AKY-Ry@gemulon.postgresql.org> (raw)

Revamp documentation for predefined roles.

Presently, the page for predefined roles contains a table with
brief descriptions of what each role allows.  Below the table,
there is a separate section with more detailed information about
some of the roles.  As the set of predefined roles has grown over
the years, this page has (IMHO) become less readable.

This commit attempts to improve the predefined roles documentation
by abandoning the table in favor of listing each role with its own
complete description, similar to how we document GUCs.  Besides
merging the information that was split between the table and the
section below it, this commit also alphabetizes the roles.  The
alphabetization is imperfect because some of the roles are grouped
(e.g., pg_read_all_data and pg_write_all_data), and we order such
groups by the first role mentioned, but that seemed like a better
choice than breaking the groups apart.  Finally, this commit makes
some stylistic adjustments to the text.

Reviewed-by: David G. Johnston, Robert Haas
Discussion: https://postgr.es/m/ZmtM-4-eRtq8DRf6%40nathan

Branch
------
master

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

Modified Files
--------------
doc/src/sgml/config.sgml         |   2 +-
doc/src/sgml/monitoring.sgml     |   4 +-
doc/src/sgml/ref/checkpoint.sgml |   2 +-
doc/src/sgml/ref/reindex.sgml    |   2 +-
doc/src/sgml/user-manag.sgml     | 355 +++++++++++++++++++++------------------
5 files changed, 197 insertions(+), 168 deletions(-)



Message-ID: <E1sRf0o-001AKY-Ry@gemulon.postgresql.org>
Permalink:  ../E1sRf0o-001AKY-Ry@gemulon.postgresql.org/
Also on:    postgresql.org/message-id/E1sRf0o-001AKY-Ry@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 using the --to and --cc options:
  reply via email

  To: pgsql-committers@postgresql.org
  Cc: nathan@postgresql.org, pgsql-committers@lists.postgresql.org
  Subject: Re: pgsql: Revamp documentation for predefined roles.
  In-Reply-To: <E1sRf0o-001AKY-Ry@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