mirror of
https://github.com/postgres/postgres.git
synced 2025-08-28 18:48:04 +03:00
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.
This commit is contained in:
@@ -29,7 +29,7 @@ DROP USER [ IF EXISTS ] <replaceable class="PARAMETER">name</replaceable> [, ...
|
||||
<title>Description</title>
|
||||
|
||||
<para>
|
||||
<command>DROP USER</command> is now an alias for
|
||||
<command>DROP USER</command> is simply an alternate spelling of
|
||||
<xref linkend="sql-droprole">.
|
||||
</para>
|
||||
</refsect1>
|
||||
|
Reference in New Issue
Block a user