Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit4defb8f

Browse files
committed
Add pg_dump's option meanings to the manual page.
1 parent1760f08 commit4defb8f

File tree

1 file changed

+35
-1
lines changed

1 file changed

+35
-1
lines changed

‎src/man/pg_dump.1‎

Lines changed: 35 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
.\" This is -*-nroff-*-
22
.\" XXX standard disclaimer belongs here....
3-
.\" $Header: /cvsroot/pgsql/src/man/Attic/pg_dump.1,v 1.4 1996/12/11 22:58:11 momjian Exp $
3+
.\" $Header: /cvsroot/pgsql/src/man/Attic/pg_dump.1,v 1.5 1997/01/17 18:36:32 momjian Exp $
44
.TH PG_DUMP UNIX 1/20/96 PostgreSQL PostgreSQL
55
.SH NAME
66
pg_dump\(em dumps out a Postgres database into a script file
@@ -59,6 +59,40 @@ postgreSQL installation to another. After running
5959
.IR"pg_dump"
6060
, one should examine the output script file for any warnings, especially
6161
in light of the limitations listed below.
62+
.PP
63+
pg_dump understands the following options:
64+
.TP
65+
.BR"-f"" filename"
66+
Specifies the output file
67+
.TP
68+
.BR"-H"" hostname"
69+
Specifies the server host name
70+
.TP
71+
.BR"-p"" port"
72+
Specifies the server port number
73+
.TP
74+
.BR"-v"""
75+
Specifies verbose mode
76+
.TP
77+
.BR"-d"""
78+
Dump data as proper insert strings
79+
.TP
80+
.BR"-D"""
81+
Dump data as inserts with attribute names
82+
.TP
83+
.BR"-S"""
84+
Dump out only the schema, no data
85+
.TP
86+
.BR"-a"""
87+
Dump out only the data, no schema
88+
.TP
89+
.BR"-t"" table"
90+
Dump for this table only
91+
.TP
92+
.BR"-o"""
93+
Dump object id's (oids)
94+
.PP
95+
If dbname is not supplied, then the DATABASE environment variable value is used.
6296
.SH "CAVEATS AND LIMITATIONS"
6397
.IR pg_dump
6498
has a few limitations.

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp