|
6 | 6 | * Portions Copyright (c) 1994, Regents of the University of California
|
7 | 7 | *
|
8 | 8 | *
|
9 |
| - * $PostgreSQL: pgsql/src/bin/pg_dump/pg_dumpall.c,v 1.115 2009/02/18 12:07:08 momjian Exp $ |
| 9 | + * $PostgreSQL: pgsql/src/bin/pg_dump/pg_dumpall.c,v 1.116 2009/02/25 13:03:06 petere Exp $ |
10 | 10 | *
|
11 | 11 | *-------------------------------------------------------------------------
|
12 | 12 | */
|
@@ -498,41 +498,40 @@ help(void)
|
498 | 498 | printf(_(" %s [OPTION]...\n"), progname);
|
499 | 499 |
|
500 | 500 | printf(_("\nGeneral options:\n"));
|
501 |
| - printf(_(" -f, --file=FILENAME output file name\n")); |
502 |
| - printf(_(" --help show this help, then exit\n")); |
503 |
| - printf(_(" --version output version information, then exit\n")); |
504 |
| - printf(_(" --lock-wait-timeout=TIMEOUT\n" |
505 |
| - " fail after waiting TIMEOUT for a table lock\n")); |
| 501 | + printf(_(" -f, --file=FILENAME output file name\n")); |
| 502 | + printf(_(" --lock-wait-timeout=TIMEOUT fail after waiting TIMEOUT for a table lock\n")); |
| 503 | + printf(_(" --help show this help, then exit\n")); |
| 504 | + printf(_(" --version output version information, then exit\n")); |
506 | 505 | printf(_("\nOptions controlling the output content:\n"));
|
507 |
| - printf(_(" -a, --data-only dump only the data, not the schema\n")); |
508 |
| - printf(_(" -c, --clean clean (drop) databases before recreating\n")); |
509 |
| - printf(_(" -d, --inserts dump data as INSERT, rather than COPY, commands\n")); |
510 |
| - printf(_(" -D, --column-inserts dump data as INSERT commands with column names\n")); |
511 |
| - printf(_(" -g, --globals-only dump only global objects, no databases\n")); |
512 |
| - printf(_(" -o, --oids include OIDs in dump\n")); |
513 |
| - printf(_(" -O, --no-owner skip restoration of object ownership\n")); |
514 |
| - printf(_(" -r, --roles-only dump only roles, no databases or tablespaces\n")); |
515 |
| - printf(_(" -s, --schema-only dump only the schema, no data\n")); |
516 |
| - printf(_(" -S, --superuser=NAME specify the superuser user name to use in the dump\n")); |
517 |
| - printf(_(" -t, --tablespaces-only dump only tablespaces, no databases or roles\n")); |
518 |
| - printf(_(" -x, --no-privileges do not dump privileges (grant/revoke)\n")); |
519 |
| - printf(_(" --disable-dollar-quoting\n" |
520 |
| - " disable dollar quoting, use SQL standard quoting\n")); |
521 |
| - printf(_(" --disable-triggers disable triggers during data-only restore\n")); |
522 |
| - printf(_(" --no-tablespaces do not dump tablespace assignments\n")); |
523 |
| - printf(_(" --role=ROLENAME do SET ROLE before dump\n")); |
| 506 | + printf(_(" -a, --data-only dump only the data, not the schema\n")); |
| 507 | + printf(_(" -c, --clean clean (drop) databases before recreating\n")); |
| 508 | + printf(_(" -d, --inserts dump data as INSERT commands, rather than COPY\n")); |
| 509 | + printf(_(" -D, --column-inserts dump data as INSERT commands with column names\n")); |
| 510 | + printf(_(" -g, --globals-only dump only global objects, no databases\n")); |
| 511 | + printf(_(" -o, --oids include OIDs in dump\n")); |
| 512 | + printf(_(" -O, --no-owner skip restoration of object ownership\n")); |
| 513 | + printf(_(" -r, --roles-only dump only roles, no databases or tablespaces\n")); |
| 514 | + printf(_(" -s, --schema-only dump only the schema, no data\n")); |
| 515 | + printf(_(" -S, --superuser=NAME superuser user name to use in the dump\n")); |
| 516 | + printf(_(" -t, --tablespaces-only dump only tablespaces, no databases or roles\n")); |
| 517 | + printf(_(" -x, --no-privileges do not dump privileges (grant/revoke)\n")); |
| 518 | + printf(_(" --disable-dollar-quoting disable dollar quoting, use SQL standard quoting\n")); |
| 519 | + printf(_(" --disable-triggers disable triggers during data-only restore\n")); |
| 520 | + printf(_(" --no-tablespaces do not dump tablespace assignments\n")); |
| 521 | + printf(_(" --role=ROLENAME do SET ROLE before dump\n")); |
524 | 522 | printf(_(" --use-set-session-authorization\n"
|
525 |
| - " use SESSION AUTHORIZATION commands instead of\n" |
526 |
| - " OWNER TO commands\n")); |
| 523 | + " use SET SESSION AUTHORIZATION commands instead of\n" |
| 524 | + " ALTER OWNER commands to set ownership\n")); |
527 | 525 |
|
528 | 526 | printf(_("\nConnection options:\n"));
|
529 | 527 | printf(_(" -h, --host=HOSTNAME database server host or socket directory\n"));
|
530 |
| - printf(_(" -l, --database=DBNAME specify an alternative default database\n")); |
| 528 | + printf(_(" -l, --database=DBNAME alternative default database\n")); |
531 | 529 | printf(_(" -p, --port=PORT database server port number\n"));
|
532 | 530 | printf(_(" -U, --username=NAME connect as specified database user\n"));
|
533 | 531 | printf(_(" -W, --password force password prompt (should happen automatically)\n"));
|
534 | 532 |
|
535 |
| - printf(_("\nThe SQL script will be written to the standard output.\n\n")); |
| 533 | + printf(_("\nIf -f/--file is not used, then the SQL script will be written to the standard\n" |
| 534 | + "output.\n\n")); |
536 | 535 | printf(_("Report bugs to <pgsql-bugs@postgresql.org>.\n"));
|
537 | 536 | }
|
538 | 537 |
|
|
0 commit comments