diff options
Diffstat (limited to 'doc/src/sgml/ref/dropuser.sgml')
-rw-r--r-- | doc/src/sgml/ref/dropuser.sgml | 93 |
1 files changed, 42 insertions, 51 deletions
diff --git a/doc/src/sgml/ref/dropuser.sgml b/doc/src/sgml/ref/dropuser.sgml index 889fd5b9a3c..b72c5d865fc 100644 --- a/doc/src/sgml/ref/dropuser.sgml +++ b/doc/src/sgml/ref/dropuser.sgml @@ -1,35 +1,32 @@ <!-- -$Header: /cvsroot/pgsql/doc/src/sgml/ref/dropuser.sgml,v 1.4 2000/03/27 17:14:43 thomas Exp $ +$Header: /cvsroot/pgsql/doc/src/sgml/ref/dropuser.sgml,v 1.5 2000/11/11 23:01:45 petere Exp $ Postgres documentation --> <refentry id="APP-DROPUSER"> + <docinfo> + <date>2000-11-11</date> + </docinfo> + <refmeta> - <refentrytitle id="APP-DROPUSER-TITLE"> - <application>dropuser</application> - </refentrytitle> + <refentrytitle id="APP-DROPUSER-TITLE"><application>dropuser</application></refentrytitle> + <manvolnum>1</manvolnum> <refmiscinfo>Application</refmiscinfo> </refmeta> + <refnamediv> - <refname> - <application>dropuser</application> - </refname> - <refpurpose> - Drops (removes) a <productname>Postgres</productname> user - </refpurpose> + <refname>dropuser</refname> + <refpurpose>Drops (removes) a <productname>Postgres</productname> user</refpurpose> </refnamediv> + <refsynopsisdiv> - <refsynopsisdivinfo> - <date>1999-11-07</date> - </refsynopsisdivinfo> - <synopsis> -dropuser [ <replaceable class="parameter">options</replaceable> ] [ <replaceable class="parameter">username</replaceable> ] - </synopsis> + <cmdsynopsis> + <command>dropuser</command> + <arg rep="repeat"><replaceable>options</replaceable></arg> + <arg><replaceable>username</replaceable></arg> + </cmdsynopsis> <refsect2 id="R2-APP-DROPUSER-1"> - <refsect2info> - <date>1999-11-07</date> - </refsect2info> <title> Inputs </title> @@ -108,9 +105,6 @@ dropuser [ <replaceable class="parameter">options</replaceable> ] [ <replaceable </refsect2> <refsect2 id="R2-APP-DROPUSER-2"> - <refsect2info> - <date>1999-11-07</date> - </refsect2info> <title> Outputs </title> @@ -145,9 +139,6 @@ dropuser [ <replaceable class="parameter">options</replaceable> ] [ <replaceable </refsynopsisdiv> <refsect1 id="R1-APP-DROPUSER-1"> - <refsect1info> - <date>1999-11-07</date> - </refsect1info> <title> Description </title> @@ -176,33 +167,33 @@ dropuser [ <replaceable class="parameter">options</replaceable> ] [ <replaceable </refsect1> <refsect1 id="R1-APP-DROPUSER-2"> - <refsect1info> - <date>1999-11-07</date> - </refsect1info> - <title> - Usage - </title> - <para> - To remove user <literal>joe</literal> - from the default database server: - <programlisting> -$ <userinput>dropuser joe</userinput> -DROP USER - </programlisting> - </para> + <title>Usage</title> - <para> - To remove user <literal>joe</literal> - using the postmaster on host eden, port 5000, with verification - and a peek at the underlying query: - <programlisting> -$ <userinput>dropuser -p 5000 -h eden -i -e joe</userinput> -User "joe" and any owned databases will be permanently deleted. -Are you sure? (y/n) <userinput>y</userinput> -DROP USER "joe" -DROP USER - </programlisting> - </para> + <informalexample> + <para> + To remove user <literal>joe</literal> from the default database + server: +<screen> +<prompt>$ </prompt><userinput>dropuser joe</userinput> +<computeroutput>DROP USER</computeroutput> +</screen> + </para> + </informalexample> + + <informalexample> + <para> + To remove user <literal>joe</literal> using the postmaster on host + eden, port 5000, with verification and a peek at the underlying + query: +<screen> +<prompt>$ </prompt><userinput>dropuser -p 5000 -h eden -i -e joe</userinput> +<computeroutput>User "joe" and any owned databases will be permanently deleted. +Are you sure? (y/n) </computeroutput><userinput>y</userinput> +<computeroutput>DROP USER "joe" +DROP USER</computeroutput> +</screen> + </para> + </informalexample> </refsect1> </refentry> |