diff options
Diffstat (limited to 'doc/src/sgml/ref/dropuser.sgml')
-rw-r--r-- | doc/src/sgml/ref/dropuser.sgml | 55 |
1 files changed, 16 insertions, 39 deletions
diff --git a/doc/src/sgml/ref/dropuser.sgml b/doc/src/sgml/ref/dropuser.sgml index 27d67f9ba88..5c26050db96 100644 --- a/doc/src/sgml/ref/dropuser.sgml +++ b/doc/src/sgml/ref/dropuser.sgml @@ -1,5 +1,5 @@ <!-- -$Header: /cvsroot/pgsql/doc/src/sgml/ref/dropuser.sgml,v 1.28 2003/08/31 17:32:23 petere Exp $ +$Header: /cvsroot/pgsql/doc/src/sgml/ref/dropuser.sgml,v 1.29 2003/09/12 00:12:47 tgl Exp $ PostgreSQL documentation --> @@ -43,12 +43,21 @@ PostgreSQL documentation <para> <application>dropuser</application> is a wrapper around the <acronym>SQL</acronym> command <xref linkend="SQL-DROPUSER" - endterm="SQL-DROPUSER-title">. The database server must be running - on the targeted host. There is nothing special about removing - users via this or other methods. Also, any default settings and - environment variables used by the <application>libpq</application> - front-end library will apply. + endterm="SQL-DROPUSER-title">. + There is no effective difference between dropping users via + this utility and via other methods for accessing the server. </para> + + <para> + In case of difficulty, see <xref linkend="SQL-DROPUSER" + endterm="sql-dropuser-title"> and <xref linkend="APP-PSQL"> for + discussions of potential problems and error messages. + The database server must be running at the + targeted host. Also, any default connection settings and environment + variables used by the <application>libpq</application> front-end + library will apply. + </para> + </refsect1> @@ -103,7 +112,7 @@ PostgreSQL documentation </para> <para> - <application>createuser</application> also accepts the following + <application>dropuser</application> also accepts the following command-line arguments for connection parameters: <variablelist> @@ -177,38 +186,6 @@ PostgreSQL documentation <refsect1> - <title>Diagnostics</title> - - <variablelist> - <varlistentry> - <term><computeroutput>DROP USER</computeroutput></term> - <listitem> - <para> - The user was successfully removed. - </para> - </listitem> - </varlistentry> - - <varlistentry> - <term><computeroutput>dropuser: deletion of user "<replaceable class="parameter">username</replaceable>" failed</computeroutput></term> - <listitem> - <para> - Something went wrong. The user was not removed. - </para> - </listitem> - </varlistentry> - - </variablelist> - - <para> - If there is an error condition, the backend error message will be displayed. - See <xref linkend="SQL-DROPUSER" endterm="SQL-DROPUSER-title"> - and <xref linkend="APP-PSQL"> for possibilities. - </para> - </refsect1> - - - <refsect1> <title>Examples</title> <para> |