summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorBruce Momjian <bruce@momjian.us>1997-01-17 18:36:32 +0000
committerBruce Momjian <bruce@momjian.us>1997-01-17 18:36:32 +0000
commit4defb8f393b2c7250cc0b55d8ec66d4d2be4f9dd (patch)
tree54730394e5102041913bc1fcbfc55d1109b43895 /src
parent1760f0861668e7e0cb6f5902f4bbaa84b69316de (diff)
Add pg_dump's option meanings to the manual page.
Diffstat (limited to 'src')
-rw-r--r--src/man/pg_dump.136
1 files changed, 35 insertions, 1 deletions
diff --git a/src/man/pg_dump.1 b/src/man/pg_dump.1
index b211629ed64..52c2f1ded7c 100644
--- a/src/man/pg_dump.1
+++ b/src/man/pg_dump.1
@@ -1,6 +1,6 @@
.\" This is -*-nroff-*-
.\" XXX standard disclaimer belongs here....
-.\" $Header: /cvsroot/pgsql/src/man/Attic/pg_dump.1,v 1.4 1996/12/11 22:58:11 momjian Exp $
+.\" $Header: /cvsroot/pgsql/src/man/Attic/pg_dump.1,v 1.5 1997/01/17 18:36:32 momjian Exp $
.TH PG_DUMP UNIX 1/20/96 PostgreSQL PostgreSQL
.SH NAME
pg_dump \(em dumps out a Postgres database into a script file
@@ -59,6 +59,40 @@ postgreSQL installation to another. After running
.IR "pg_dump"
, one should examine the output script file for any warnings, especially
in light of the limitations listed below.
+.PP
+pg_dump understands the following options:
+.TP
+.BR "-f" " filename"
+Specifies the output file
+.TP
+.BR "-H" " hostname"
+Specifies the server host name
+.TP
+.BR "-p" " port"
+Specifies the server port number
+.TP
+.BR "-v" ""
+Specifies verbose mode
+.TP
+.BR "-d" ""
+Dump data as proper insert strings
+.TP
+.BR "-D" ""
+Dump data as inserts with attribute names
+.TP
+.BR "-S" ""
+Dump out only the schema, no data
+.TP
+.BR "-a" ""
+Dump out only the data, no schema
+.TP
+.BR "-t" " table"
+Dump for this table only
+.TP
+.BR "-o" ""
+Dump object id's (oids)
+.PP
+If dbname is not supplied, then the DATABASE environment variable value is used.
.SH "CAVEATS AND LIMITATIONS"
.IR pg_dump
has a few limitations.