]> 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:06 +0000 (16:12 -0400)
committerTom Lane <tgl@sss.pgh.pa.us>
Wed, 7 Oct 2015 20:12:06 +0000 (16:12 -0400)
commitfe86f7fbe442212ec638bdaf2ebf474dfaae9722
treee4614d8914e2bbf805570dd915091230ad5b8d2f
parent3d701277f8c90c3770f086093eaa5999e3ce6e95
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