diff options
Diffstat (limited to 'doc/src/sgml/ref/drop_user.sgml')
-rw-r--r-- | doc/src/sgml/ref/drop_user.sgml | 40 |
1 files changed, 6 insertions, 34 deletions
diff --git a/doc/src/sgml/ref/drop_user.sgml b/doc/src/sgml/ref/drop_user.sgml index 143efbca9bd..b125c23a8e7 100644 --- a/doc/src/sgml/ref/drop_user.sgml +++ b/doc/src/sgml/ref/drop_user.sgml @@ -1,5 +1,5 @@ <!-- -$Header: /cvsroot/pgsql/doc/src/sgml/ref/drop_user.sgml,v 1.17 2003/08/31 17:32:23 petere Exp $ +$Header: /cvsroot/pgsql/doc/src/sgml/ref/drop_user.sgml,v 1.18 2003/09/12 00:12:47 tgl Exp $ PostgreSQL documentation --> @@ -50,39 +50,6 @@ DROP USER <replaceable class="PARAMETER">name</replaceable> </refsect1> <refsect1> - <title>Diagnostics</title> - - <variablelist> - <varlistentry> - <term><computeroutput>DROP USER</computeroutput></term> - <listitem> - <para> - Message returned if the user was successfully deleted. - </para> - </listitem> - </varlistentry> - - <varlistentry> - <term><computeroutput>ERROR: DROP USER: user "<replaceable class="parameter">name</replaceable>" does not exist</computeroutput></term> - <listitem> - <para> - Message returned if the specified user does not exist. - </para> - </listitem> - </varlistentry> - - <varlistentry> - <term><computeroutput>DROP USER: user "<replaceable class="parameter">name</replaceable>" owns database "<replaceable class="parameter">name</replaceable>", cannot be removed</computeroutput></term> - <listitem> - <para> - You must drop the database first or change its ownership. - </para> - </listitem> - </varlistentry> - </variablelist> - </refsect1> - - <refsect1> <title>Notes</title> <para> @@ -91,6 +58,11 @@ DROP USER <replaceable class="PARAMETER">name</replaceable> same functionality as this command (in fact, it calls this command) but can be run from the command shell. </para> + + <para> + To drop a user who owns a database, first drop the database or change + its ownership. + </para> </refsect1> <refsect1> |