Thread: pg_dump missing arguments in docs

pg_dump missing arguments in docs

From
Magnus Hagander
Date:
This patch adds documentation for the long-version parameters --username
and --password for pg_dump, pg_dumpall and pg_restore, per complaint by
Michael Schmidt.

//Magnus
Index: doc/src/sgml/ref/pg_dump.sgml
===================================================================
RCS file: c:/prog/cvsrepo/pgsql/pgsql/doc/src/sgml/ref/pg_dump.sgml,v
retrieving revision 1.92
diff -c -r1.92 pg_dump.sgml
*** doc/src/sgml/ref/pg_dump.sgml    28 Nov 2006 22:54:18 -0000    1.92
--- doc/src/sgml/ref/pg_dump.sgml    29 Jan 2007 12:52:34 -0000
***************
*** 644,649 ****
--- 644,650 ----

       <varlistentry>
        <term><option>-U <replaceable>username</replaceable></option></term>
+       <term><option>--username=<replaceable class="parameter">username</replaceable></option></term>
        <listitem>
         <para>
          Connect as the given user
***************
*** 653,658 ****
--- 654,660 ----

       <varlistentry>
        <term><option>-W</option></term>
+       <term><option>--password</option></term>
        <listitem>
         <para>
          Force a password prompt.  This should happen automatically if
Index: doc/src/sgml/ref/pg_dumpall.sgml
===================================================================
RCS file: c:/prog/cvsrepo/pgsql/pgsql/doc/src/sgml/ref/pg_dumpall.sgml,v
retrieving revision 1.58
diff -c -r1.58 pg_dumpall.sgml
*** doc/src/sgml/ref/pg_dumpall.sgml    7 Oct 2006 20:59:04 -0000    1.58
--- doc/src/sgml/ref/pg_dumpall.sgml    29 Jan 2007 12:53:10 -0000
***************
*** 318,323 ****
--- 318,324 ----

       <varlistentry>
        <term>-U <replaceable>username</replaceable></term>
+       <term><option>--username=<replaceable class="parameter">username</replaceable></option></term>
        <listitem>
         <para>
          Connect as the given user.
***************
*** 327,332 ****
--- 328,334 ----

       <varlistentry>
        <term>-W</term>
+       <term><option>--password</option></term>
        <listitem>
         <para>
          Force a password prompt.  This should happen automatically if
Index: doc/src/sgml/ref/pg_restore.sgml
===================================================================
RCS file: c:/prog/cvsrepo/pgsql/pgsql/doc/src/sgml/ref/pg_restore.sgml,v
retrieving revision 1.64
diff -c -r1.64 pg_restore.sgml
*** doc/src/sgml/ref/pg_restore.sgml    26 Nov 2006 18:11:11 -0000    1.64
--- doc/src/sgml/ref/pg_restore.sgml    29 Jan 2007 12:54:28 -0000
***************
*** 454,459 ****
--- 454,460 ----

       <varlistentry>
        <term><option>-U <replaceable>username</replaceable></option></term>
+       <term><option>--username=<replaceable class="parameter">username</replaceable></option></term>
        <listitem>
         <para>
          Connect as the given user
***************
*** 463,468 ****
--- 464,470 ----

       <varlistentry>
        <term><option>-W</option></term>
+       <term><option>--password</option></term>
        <listitem>
         <para>
          Force a password prompt.  This should happen automatically if

Re: [pgsql-patches] pg_dump missing arguments in docs

From
Neil Conway
Date:
On Mon, 2007-01-29 at 13:58 +0100, Magnus Hagander wrote:
> This patch adds documentation for the long-version parameters --username
> and --password for pg_dump, pg_dumpall and pg_restore, per complaint by
> Michael Schmidt.

Applied, thanks for the patch.

-Neil