]> git.ipfire.org Git - thirdparty/postgresql.git/commit
Improve documentation of the role-dropping process.
authorTom Lane <tgl@sss.pgh.pa.us>
Wed, 7 Oct 2015 20:12:05 +0000 (16:12 -0400)
committerTom Lane <tgl@sss.pgh.pa.us>
Wed, 7 Oct 2015 20:12:05 +0000 (16:12 -0400)
commitfc95734a14e588a847793ce4a734d9bf7fe50d14
treed013c7da59104beb948bb67e76f0c6025db7b075
parentc86555fc80bbbf276de42f43761991212b713575
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.
doc/src/sgml/ref/drop_owned.sgml
doc/src/sgml/ref/drop_role.sgml
doc/src/sgml/ref/drop_user.sgml
doc/src/sgml/ref/reassign_owned.sgml
doc/src/sgml/user-manag.sgml