mirror of
https://github.com/postgres/postgres.git
synced 2025-05-02 11:44:50 +03:00
Add pg_dump's option meanings to the manual page.
This commit is contained in:
parent
1760f08616
commit
4defb8f393
@ -1,6 +1,6 @@
|
|||||||
.\" This is -*-nroff-*-
|
.\" This is -*-nroff-*-
|
||||||
.\" XXX standard disclaimer belongs here....
|
.\" 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
|
.TH PG_DUMP UNIX 1/20/96 PostgreSQL PostgreSQL
|
||||||
.SH NAME
|
.SH NAME
|
||||||
pg_dump \(em dumps out a Postgres database into a script file
|
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"
|
.IR "pg_dump"
|
||||||
, one should examine the output script file for any warnings, especially
|
, one should examine the output script file for any warnings, especially
|
||||||
in light of the limitations listed below.
|
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"
|
.SH "CAVEATS AND LIMITATIONS"
|
||||||
.IR pg_dump
|
.IR pg_dump
|
||||||
has a few limitations.
|
has a few limitations.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user