.\" 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
.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.