aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNeil Conway <neilc@samurai.com>2007-02-01 04:39:33 +0000
committerNeil Conway <neilc@samurai.com>2007-02-01 04:39:33 +0000
commitbd2c171414f67b7323b1ba5ede5cd46a46e968b4 (patch)
tree961b55473435cdc78785741c9fcbdef2541d8a4c
parente665137250b553ecb0dac5a879033cc658e8c098 (diff)
downloadpostgresql-bd2c171414f67b7323b1ba5ede5cd46a46e968b4.tar.gz
postgresql-bd2c171414f67b7323b1ba5ede5cd46a46e968b4.zip
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. Patch from Magnus Hagander.
-rw-r--r--doc/src/sgml/ref/pg_dump.sgml6
-rw-r--r--doc/src/sgml/ref/pg_dumpall.sgml4
-rw-r--r--doc/src/sgml/ref/pg_restore.sgml6
3 files changed, 10 insertions, 6 deletions
diff --git a/doc/src/sgml/ref/pg_dump.sgml b/doc/src/sgml/ref/pg_dump.sgml
index f71117ad89a..5d3a16d7af7 100644
--- a/doc/src/sgml/ref/pg_dump.sgml
+++ b/doc/src/sgml/ref/pg_dump.sgml
@@ -1,5 +1,5 @@
<!--
-$PostgreSQL: pgsql/doc/src/sgml/ref/pg_dump.sgml,v 1.93 2007/01/31 23:26:04 momjian Exp $
+$PostgreSQL: pgsql/doc/src/sgml/ref/pg_dump.sgml,v 1.94 2007/02/01 04:39:33 neilc Exp $
PostgreSQL documentation
-->
@@ -644,15 +644,17 @@ PostgreSQL documentation
<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
+ Connect as the given user.
</para>
</listitem>
</varlistentry>
<varlistentry>
<term><option>-W</option></term>
+ <term><option>--password</option></term>
<listitem>
<para>
Force a password prompt. This should happen automatically if
diff --git a/doc/src/sgml/ref/pg_dumpall.sgml b/doc/src/sgml/ref/pg_dumpall.sgml
index b6d74f1e0d5..8dfa773a49d 100644
--- a/doc/src/sgml/ref/pg_dumpall.sgml
+++ b/doc/src/sgml/ref/pg_dumpall.sgml
@@ -1,5 +1,5 @@
<!--
-$PostgreSQL: pgsql/doc/src/sgml/ref/pg_dumpall.sgml,v 1.64 2007/01/31 23:26:04 momjian Exp $
+$PostgreSQL: pgsql/doc/src/sgml/ref/pg_dumpall.sgml,v 1.65 2007/02/01 04:39:33 neilc Exp $
PostgreSQL documentation
-->
@@ -374,7 +374,7 @@ PostgreSQL documentation
<varlistentry>
<term>-W</term>
- <term>--password</term>
+ <term>--password</term>
<listitem>
<para>
Force a password prompt. This should happen automatically if
diff --git a/doc/src/sgml/ref/pg_restore.sgml b/doc/src/sgml/ref/pg_restore.sgml
index a5b2bbadb77..0a3b3d12aa9 100644
--- a/doc/src/sgml/ref/pg_restore.sgml
+++ b/doc/src/sgml/ref/pg_restore.sgml
@@ -1,4 +1,4 @@
-<!-- $PostgreSQL: pgsql/doc/src/sgml/ref/pg_restore.sgml,v 1.66 2007/02/01 00:28:19 momjian Exp $ -->
+<!-- $PostgreSQL: pgsql/doc/src/sgml/ref/pg_restore.sgml,v 1.67 2007/02/01 04:39:33 neilc Exp $ -->
<refentry id="APP-PGRESTORE">
<refmeta>
@@ -454,15 +454,17 @@
<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
+ Connect as the given user.
</para>
</listitem>
</varlistentry>
<varlistentry>
<term><option>-W</option></term>
+ <term><option>--password</option></term>
<listitem>
<para>
Force a password prompt. This should happen automatically if