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
5168c769
Commit
5168c769
authored
Jan 31, 2014
by
Bruce Momjian
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
pg_restore: make help output plural for multi-enabled options
per report from Josh Kupershmidt
parent
d1981719
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
6 deletions
+6
-6
src/bin/pg_dump/pg_restore.c
src/bin/pg_dump/pg_restore.c
+6
-6
No files found.
src/bin/pg_dump/pg_restore.c
View file @
5168c769
...
@@ -442,17 +442,17 @@ usage(const char *progname)
...
@@ -442,17 +442,17 @@ usage(const char *progname)
printf
(
_
(
" -c, --clean clean (drop) database objects before recreating
\n
"
));
printf
(
_
(
" -c, --clean clean (drop) database objects before recreating
\n
"
));
printf
(
_
(
" -C, --create create the target database
\n
"
));
printf
(
_
(
" -C, --create create the target database
\n
"
));
printf
(
_
(
" -e, --exit-on-error exit on error, default is to continue
\n
"
));
printf
(
_
(
" -e, --exit-on-error exit on error, default is to continue
\n
"
));
printf
(
_
(
" -I, --index=NAME restore named index
\n
"
));
printf
(
_
(
" -I, --index=NAME restore named index
es
\n
"
));
printf
(
_
(
" -j, --jobs=NUM use this many parallel jobs to restore
\n
"
));
printf
(
_
(
" -j, --jobs=NUM use this many parallel jobs to restore
\n
"
));
printf
(
_
(
" -L, --use-list=FILENAME use table of contents from this file for
\n
"
printf
(
_
(
" -L, --use-list=FILENAME use table of contents from this file for
\n
"
" selecting/ordering output
\n
"
));
" selecting/ordering output
\n
"
));
printf
(
_
(
" -n, --schema=NAME restore only objects in th
is schema
\n
"
));
printf
(
_
(
" -n, --schema=NAME restore only objects in th
ese schemas
\n
"
));
printf
(
_
(
" -O, --no-owner skip restoration of object ownership
\n
"
));
printf
(
_
(
" -O, --no-owner skip restoration of object ownership
\n
"
));
printf
(
_
(
" -P, --function=NAME(args) restore named function
\n
"
));
printf
(
_
(
" -P, --function=NAME(args) restore named function
s
\n
"
));
printf
(
_
(
" -s, --schema-only restore only the schema, no data
\n
"
));
printf
(
_
(
" -s, --schema-only restore only the schema, no data
\n
"
));
printf
(
_
(
" -S, --superuser=NAME superuser user name to use for disabling triggers
\n
"
));
printf
(
_
(
" -S, --superuser=NAME superuser user name to use for disabling triggers
\n
"
));
printf
(
_
(
" -t, --table=NAME restore named table
(s)
\n
"
));
printf
(
_
(
" -t, --table=NAME restore named table
s
\n
"
));
printf
(
_
(
" -T, --trigger=NAME restore named trigger
\n
"
));
printf
(
_
(
" -T, --trigger=NAME restore named trigger
s
\n
"
));
printf
(
_
(
" -x, --no-privileges skip restoration of access privileges (grant/revoke)
\n
"
));
printf
(
_
(
" -x, --no-privileges skip restoration of access privileges (grant/revoke)
\n
"
));
printf
(
_
(
" -1, --single-transaction restore as a single transaction
\n
"
));
printf
(
_
(
" -1, --single-transaction restore as a single transaction
\n
"
));
printf
(
_
(
" --disable-triggers disable triggers during data-only restore
\n
"
));
printf
(
_
(
" --disable-triggers disable triggers during data-only restore
\n
"
));
...
@@ -460,7 +460,7 @@ usage(const char *progname)
...
@@ -460,7 +460,7 @@ usage(const char *progname)
" created
\n
"
));
" created
\n
"
));
printf
(
_
(
" --no-security-labels do not restore security labels
\n
"
));
printf
(
_
(
" --no-security-labels do not restore security labels
\n
"
));
printf
(
_
(
" --no-tablespaces do not restore tablespace assignments
\n
"
));
printf
(
_
(
" --no-tablespaces do not restore tablespace assignments
\n
"
));
printf
(
_
(
" --section=SECTION restore named section (pre-data, data, or post-data)
\n
"
));
printf
(
_
(
" --section=SECTION restore named section
s
(pre-data, data, or post-data)
\n
"
));
printf
(
_
(
" --use-set-session-authorization
\n
"
printf
(
_
(
" --use-set-session-authorization
\n
"
" use SET SESSION AUTHORIZATION commands instead of
\n
"
" use SET SESSION AUTHORIZATION commands instead of
\n
"
" ALTER OWNER commands to set ownership
\n
"
));
" ALTER OWNER commands to set ownership
\n
"
));
...
...
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