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
d5e2e7dc
Commit
d5e2e7dc
authored
Mar 06, 2001
by
Peter Eisentraut
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Help message s/dump/restore/ (must have been copy&pasted from pg_dump).
parent
0dcd1770
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
19 additions
and
19 deletions
+19
-19
src/bin/pg_dump/pg_restore.c
src/bin/pg_dump/pg_restore.c
+19
-19
No files found.
src/bin/pg_dump/pg_restore.c
View file @
d5e2e7dc
...
...
@@ -320,35 +320,35 @@ int main(int argc, char **argv)
static
void
usage
(
const
char
*
progname
)
{
printf
(
"%s restores a PostgreSQL database from an archive created by pg_dump.
\n\n
"
"Usage:
\n
%s [options] [
backup
file]
\n\n
"
"Usage:
\n
%s [options] [file]
\n\n
"
"Options:
\n
"
,
progname
,
progname
);
#ifdef HAVE_GETOPT_LONG
puts
(
" -a, --data-only
dump out
only the data, no schema
\n
"
" -a, --data-only
restore
only the data, no schema
\n
"
" -c, --clean clean (drop) schema prior to create
\n
"
" -C, --create output commands to create the database
\n
"
" -d, --dbname=NAME specify database name
\n
"
" -f, --file=FILENAME script output file name
\n
"
" -F, --format {c|f} specify backup file format
\n
"
" -h, --host HOSTNAME server host name
\n
"
" -i, --index[=NAME]
dump index
es or named index
\n
"
" -i, --index[=NAME]
restore indic
es or named index
\n
"
" -l, --list dump summarized TOC for this file
\n
"
" -L, --use-list=FILENAME use specified table of contents for ordering
\n
"
" output from this file
\n
"
" -N, --orig-order
dump
in original dump order
\n
"
" -o, --oid-order
dump
in oid order
\n
"
" -O, --no-owner do not
output
reconnect to database to match
\n
"
" -N, --orig-order
restore
in original dump order
\n
"
" -o, --oid-order
restore
in oid order
\n
"
" -O, --no-owner do not reconnect to database to match
\n
"
" object owner
\n
"
" -p, --port PORT server port number
\n
"
" -P, --function[=NAME]
dump
functions or named function
\n
"
" -P, --function[=NAME]
restore
functions or named function
\n
"
" -r, --rearrange rearrange output to put indexes etc. at end
\n
"
" -R, --no-reconnect disallow ALL reconnections to the database
\n
"
" -s, --schema-only
dump out
only the schema, no data
\n
"
" -s, --schema-only
restore
only the schema, no data
\n
"
" -S, --superuser=NAME specify the superuser user name to use for
\n
"
" disabling triggers
\n
"
" -t
[TABLE], --table[=TABLE] dump for
this table only
\n
"
" -T, --trigger[=NAME]
dump
triggers or named trigger
\n
"
" -t
, --table[=TABLE] restore
this table only
\n
"
" -T, --trigger[=NAME]
restore
triggers or named trigger
\n
"
" -u, --password use password authentication
\n
"
" -v, --verbose verbose
\n
"
" -x, --no-acl skip dumping of ACLs (grant/revoke)
\n
"
);
...
...
@@ -356,35 +356,35 @@ static void usage(const char *progname)
#else
/* not HAVE_GETOPT_LONG */
puts
(
" -a
dump out
only the data, no schema
\n
"
" -a
restore
only the data, no schema
\n
"
" -c clean (drop) schema prior to create
\n
"
" -C output commands to create the database
\n
"
" -d NAME specify database name
\n
"
" -f FILENAME script output file name
\n
"
" -F {c|f} specify backup file format
\n
"
" -h HOSTNAME server host name
\n
"
" -i NAME
dump index
es or named index
\n
"
" -i NAME
restore indic
es or named index
\n
"
" -l dump summarized TOC for this file
\n
"
" -L FILENAME use specified table of contents for ordering
\n
"
" output from this file
\n
"
" -N
dump
in original dump order
\n
"
" -o
dump
in oid order
\n
"
" -N
restore
in original dump order
\n
"
" -o
restore
in oid order
\n
"
" -O do not output reconnect to database to match
\n
"
" object owner
\n
"
" -p PORT server port number
\n
"
" -P NAME
dump
functions or named function
\n
"
" -P NAME
restore
functions or named function
\n
"
" -r rearrange output to put indexes etc at end
\n
"
" -R disallow ALL reconnections to the database
\n
"
" -s
dump out
only the schema, no data
\n
"
" -s
restore
only the schema, no data
\n
"
" -S NAME specify the superuser user name to use for
\n
"
" disabling triggers
\n
"
" -t NAME
dump for
this table only
\n
"
" -T NAME
dump
triggers or named trigger
\n
"
" -t NAME
restore
this table only
\n
"
" -T NAME
restore
triggers or named trigger
\n
"
" -u use password authentication
\n
"
" -v verbose
\n
"
" -x skip dumping of ACLs (grant/revoke)
\n
"
);
#endif
puts
(
"If [
backup
file] is not supplied, then standard input is used.
\n
"
);
puts
(
"If [file] is not supplied, then standard input is used.
\n
"
);
puts
(
"Report bugs to <pgsql-bugs@postgresql.org>."
);
}
...
...
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