Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
P
Postgres FD Implementation
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Abuhujair Javed
Postgres FD Implementation
Commits
c52670e8
Commit
c52670e8
authored
Mar 21, 2002
by
Bruce Momjian
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix pg_dump help option alignment.
parent
78d40a2a
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
61 additions
and
62 deletions
+61
-62
src/bin/pg_dump/pg_dump.c
src/bin/pg_dump/pg_dump.c
+61
-62
No files found.
src/bin/pg_dump/pg_dump.c
View file @
c52670e8
...
...
@@ -22,7 +22,7 @@
*
*
* IDENTIFICATION
* $Header: /cvsroot/pgsql/src/bin/pg_dump/pg_dump.c,v 1.24
3 2002/03/06 20:48:42
momjian Exp $
* $Header: /cvsroot/pgsql/src/bin/pg_dump/pg_dump.c,v 1.24
4 2002/03/21 05:47:14
momjian Exp $
*
*-------------------------------------------------------------------------
*/
...
...
@@ -141,71 +141,71 @@ help(const char *progname)
#ifdef HAVE_GETOPT_LONG
puts
(
gettext
(
" -a, --data-only dump only the data, not the schema
\n
"
" -b, --blobs include large objects in dump
\n
"
" -c, --clean clean (drop) schema prior to create
\n
"
" -C, --create include commands to create database in dump
\n
"
" -d, --inserts dump data as INSERT, rather than COPY, commands
\n
"
" -D, --column-inserts dump data as INSERT commands with column names
\n
"
" -f, --file=FILENAME output file name
\n
"
" -F, --format {c|t|p} output file format (custom, tar, plain text)
\n
"
" -h, --host=HOSTNAME database server host name
\n
"
" -i, --ignore-version proceed even when server version mismatches
\n
"
" pg_dump version
\n
"
" -n, --no-quotes suppress most quotes around identifiers
\n
"
" -N, --quotes enable most quotes around identifiers
\n
"
" -o, --oids include oids in dump
\n
"
" -O, --no-owner do not output
\\
connect commands in plain
\n
"
" text format
\n
"
" -p, --port=PORT database server port number
\n
"
" -R, --no-reconnect disable ALL reconnections to the database in
\n
"
" plain text format
\n
"
" -s, --schema-only dump only the schema, no data
\n
"
" -S, --superuser=NAME specify the superuser user name to use in
\n
"
" plain text format
\n
"
" -t, --table=TABLE dump this table only (* for all)
\n
"
" -b, --blobs include large objects in dump
\n
"
" -c, --clean clean (drop) schema prior to create
\n
"
" -C, --create include commands to create database in dump
\n
"
" -d, --inserts dump data as INSERT, rather than COPY, commands
\n
"
" -D, --column-inserts dump data as INSERT commands with column names
\n
"
" -f, --file=FILENAME output file name
\n
"
" -F, --format {c|t|p} output file format (custom, tar, plain text)
\n
"
" -h, --host=HOSTNAME database server host name
\n
"
" -i, --ignore-version proceed even when server version mismatches
\n
"
" pg_dump version
\n
"
" -n, --no-quotes suppress most quotes around identifiers
\n
"
" -N, --quotes enable most quotes around identifiers
\n
"
" -o, --oids include oids in dump
\n
"
" -O, --no-owner do not output
\\
connect commands in plain
\n
"
" text format
\n
"
" -p, --port=PORT database server port number
\n
"
" -R, --no-reconnect disable ALL reconnections to the database in
\n
"
" plain text format
\n
"
" -s, --schema-only dump only the schema, no data
\n
"
" -S, --superuser=NAME specify the superuser user name to use in
\n
"
" plain text format
\n
"
" -t, --table=TABLE dump this table only (* for all)
\n
"
" -U, --username=NAME connect as specified database user
\n
"
" -v, --verbose verbose mode
\n
"
" -W, --password force password prompt (should happen automatically)
\n
"
" -x, --no-privileges do not dump privileges (grant/revoke)
\n
"
" -X use-set-session-authorization, --use-set-session-authorization
\n
"
" output SET SESSION AUTHORIZATION commands rather
\n
"
" than
\\
connect commands
\n
"
" -Z, --compress {0-9} compression level for compressed formats
\n
"
));
" -v, --verbose verbose mode
\n
"
" -W, --password force password prompt (should happen automatically)
\n
"
" -x, --no-privileges do not dump privileges (grant/revoke)
\n
"
" -X use-set-session-authorization, --use-set-session-authorization
\n
"
" output SET SESSION AUTHORIZATION commands rather
\n
"
" than
\\
connect commands
\n
"
" -Z, --compress {0-9} compression level for compressed formats
\n
"
));
#else
puts
(
gettext
(
" -a dump only the data, not the schema
\n
"
" -b include large objects in dump
\n
"
" -c clean (drop) schema prior to create
\n
"
" -C include commands to create database in dump
\n
"
" -d dump data as INSERT, rather than COPY, commands
\n
"
" -D dump data as INSERT commands with column names
\n
"
" -f FILENAME output file name
\n
"
" -F {c|t|p} output file format (custom, tar, plain text)
\n
"
" -h HOSTNAME database server host name
\n
"
" -i proceed even when server version mismatches
\n
"
" pg_dump version
\n
"
" -n suppress most quotes around identifiers
\n
"
" -N enable most quotes around identifiers
\n
"
" -o include oids in dump
\n
"
" -O do not output
\\
connect commands in plain
\n
"
" text format
\n
"
" -p PORT database server port number
\n
"
" -R disable ALL reconnections to the database in
\n
"
" plain text format
\n
"
" -s dump only the schema, no data
\n
"
" -S NAME specify the superuser user name to use in
\n
"
" plain text format
\n
"
" -t TABLE dump this table only (* for all)
\n
"
" -b include large objects in dump
\n
"
" -c clean (drop) schema prior to create
\n
"
" -C include commands to create database in dump
\n
"
" -d dump data as INSERT, rather than COPY, commands
\n
"
" -D dump data as INSERT commands with column names
\n
"
" -f FILENAME output file name
\n
"
" -F {c|t|p} output file format (custom, tar, plain text)
\n
"
" -h HOSTNAME database server host name
\n
"
" -i proceed even when server version mismatches
\n
"
" pg_dump version
\n
"
" -n suppress most quotes around identifiers
\n
"
" -N enable most quotes around identifiers
\n
"
" -o include oids in dump
\n
"
" -O do not output
\\
connect commands in plain
\n
"
" text format
\n
"
" -p PORT database server port number
\n
"
" -R disable ALL reconnections to the database in
\n
"
" plain text format
\n
"
" -s dump only the schema, no data
\n
"
" -S NAME specify the superuser user name to use in
\n
"
" plain text format
\n
"
" -t TABLE dump this table only (* for all)
\n
"
" -U NAME connect as specified database user
\n
"
" -v verbose mode
\n
"
" -W force password prompt (should happen automatically)
\n
"
" -x do not dump privileges (grant/revoke)
\n
"
" -X use-set-session-authorization
\n
"
" output SET SESSION AUTHORIZATION commands rather
\n
"
" than
\\
connect commands
\n
"
" -Z {0-9} compression level for compressed formats
\n
"
));
" -v verbose mode
\n
"
" -W force password prompt (should happen automatically)
\n
"
" -x do not dump privileges (grant/revoke)
\n
"
" -X use-set-session-authorization
\n
"
" output SET SESSION AUTHORIZATION commands rather
\n
"
" than
\\
connect commands
\n
"
" -Z {0-9} compression level for compressed formats
\n
"
));
#endif
puts
(
gettext
(
"If no database name is not supplied, then the PGDATABASE environment
\n
"
"variable value is used.
\n\n
"
...
...
@@ -4081,7 +4081,6 @@ dumpACL(Archive *fout, TableInfo tbinfo)
objoid
=
tbinfo
.
oid
;
ArchiveEntry
(
fout
,
objoid
,
tbinfo
.
relname
,
"ACL"
,
NULL
,
sql
,
""
,
""
,
""
,
NULL
,
NULL
);
}
static
void
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment