pgsql: Improve documentation of the role-dropping process.

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Improve documentation of the role-dropping process.
Date: 2015-10-07 20:12:28
Message-ID: E1Zjv4e-0003nu-DN@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Improve documentation of the role-dropping process.

In general one may have to run both REASSIGN OWNED and DROP OWNED to get
rid of all the dependencies of a role to be dropped. This was alluded to
in the REASSIGN OWNED man page, but not really spelled out in full; and in
any case the procedure ought to be documented in a more prominent place
than that. Add a section to the "Database Roles" chapter explaining this,
and do a bit of wordsmithing in the relevant commands' man pages.

Branch
------
REL9_2_STABLE

Details
-------
http://git.postgresql.org/pg/commitdiff/539510582bc7bfd18c08fa5292e8061ddda68a33

Modified Files
--------------
doc/src/sgml/ref/drop_owned.sgml | 9 ++++-
doc/src/sgml/ref/drop_role.sgml | 8 ++--
doc/src/sgml/ref/drop_user.sgml | 2 +-
doc/src/sgml/ref/reassign_owned.sgml | 23 ++++++-----
doc/src/sgml/user-manag.sgml | 70 +++++++++++++++++++++++++++++++---
5 files changed, 89 insertions(+), 23 deletions(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Andrew Dunstan 2015-10-08 02:20:42 pgsql: Factor out encoding specific tests for json
Previous Message Bruce Momjian 2015-10-07 14:31:01 pgsql: docs: add JSONB containment example of a key and empty object