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

Commitd5e2e7d

Browse files
committed
Help message s/dump/restore/ (must have been copy&pasted from pg_dump).
1 parent0dcd177 commitd5e2e7d

File tree

1 file changed

+19
-19
lines changed

1 file changed

+19
-19
lines changed

‎src/bin/pg_dump/pg_restore.c

Lines changed: 19 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -320,71 +320,71 @@ int main(int argc, char **argv)
320320
staticvoidusage(constchar*progname)
321321
{
322322
printf("%s restores a PostgreSQL database from an archive created by pg_dump.\n\n"
323-
"Usage:\n %s [options] [backupfile]\n\n"
323+
"Usage:\n %s [options] [file]\n\n"
324324
"Options:\n",
325325
progname,progname);
326326
#ifdefHAVE_GETOPT_LONG
327327
puts(
328-
" -a, --data-onlydump out only the data, no schema\n"
328+
" -a, --data-onlyrestore only the data, no schema\n"
329329
" -c, --clean clean (drop) schema prior to create\n"
330330
" -C, --create output commands to create the database\n"
331331
" -d, --dbname=NAME specify database name\n"
332332
" -f, --file=FILENAME script output file name\n"
333333
" -F, --format {c|f} specify backup file format\n"
334334
" -h, --host HOSTNAME server host name\n"
335-
" -i, --index[=NAME]dump indexes or named index\n"
335+
" -i, --index[=NAME]restore indices or named index\n"
336336
" -l, --list dump summarized TOC for this file\n"
337337
" -L, --use-list=FILENAME use specified table of contents for ordering\n"
338338
" output from this file\n"
339-
" -N, --orig-orderdump in original dump order\n"
340-
" -o, --oid-orderdump in oid order\n"
341-
" -O, --no-owner do notoutputreconnect to database to match\n"
339+
" -N, --orig-orderrestore in original dump order\n"
340+
" -o, --oid-orderrestore in oid order\n"
341+
" -O, --no-owner do not reconnect to database to match\n"
342342
" object owner\n"
343343
" -p, --port PORT server port number\n"
344-
" -P, --function[=NAME]dump functions or named function\n"
344+
" -P, --function[=NAME]restore functions or named function\n"
345345
" -r, --rearrange rearrange output to put indexes etc. at end\n"
346346
" -R, --no-reconnect disallow ALL reconnections to the database\n"
347-
" -s, --schema-onlydump out only the schema, no data\n"
347+
" -s, --schema-onlyrestore only the schema, no data\n"
348348
" -S, --superuser=NAME specify the superuser user name to use for\n"
349349
" disabling triggers\n"
350-
" -t [TABLE], --table[=TABLE]dump for this table only\n"
351-
" -T, --trigger[=NAME]dump triggers or named trigger\n"
350+
" -t, --table[=TABLE] restore this table only\n"
351+
" -T, --trigger[=NAME]restore triggers or named trigger\n"
352352
" -u, --password use password authentication\n"
353353
" -v, --verbose verbose\n"
354354
" -x, --no-acl skip dumping of ACLs (grant/revoke)\n");
355355

356356
#else/* not HAVE_GETOPT_LONG */
357357

358358
puts(
359-
" -adump out only the data, no schema\n"
359+
" -arestore only the data, no schema\n"
360360
" -c clean (drop) schema prior to create\n"
361361
" -C output commands to create the database\n"
362362
" -d NAME specify database name\n"
363363
" -f FILENAME script output file name\n"
364364
" -F {c|f} specify backup file format\n"
365365
" -h HOSTNAME server host name\n"
366-
" -i NAMEdump indexes or named index\n"
366+
" -i NAMErestore indices or named index\n"
367367
" -l dump summarized TOC for this file\n"
368368
" -L FILENAME use specified table of contents for ordering\n"
369369
" output from this file\n"
370-
" -Ndump in original dump order\n"
371-
" -odump in oid order\n"
370+
" -Nrestore in original dump order\n"
371+
" -orestore in oid order\n"
372372
" -O do not output reconnect to database to match\n"
373373
" object owner\n"
374374
" -p PORT server port number\n"
375-
" -P NAMEdump functions or named function\n"
375+
" -P NAMErestore functions or named function\n"
376376
" -r rearrange output to put indexes etc at end\n"
377377
" -R disallow ALL reconnections to the database\n"
378-
" -sdump out only the schema, no data\n"
378+
" -srestore only the schema, no data\n"
379379
" -S NAME specify the superuser user name to use for\n"
380380
" disabling triggers\n"
381-
" -t NAMEdump for this table only\n"
382-
" -T NAMEdump triggers or named trigger\n"
381+
" -t NAMErestore this table only\n"
382+
" -T NAMErestore triggers or named trigger\n"
383383
" -u use password authentication\n"
384384
" -v verbose\n"
385385
" -x skip dumping of ACLs (grant/revoke)\n");
386386
#endif
387-
puts("If [backupfile] is not supplied, then standard input is used.\n");
387+
puts("If [file] is not supplied, then standard input is used.\n");
388388
puts("Report bugs to <pgsql-bugs@postgresql.org>.");
389389
}
390390

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp