|
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.102 2008/03/20 17:42:51 tgl Exp $ |
| 9 | + * $PostgreSQL: pgsql/src/bin/pg_dump/pg_dumpall.c,v 1.103 2008/03/26 14:32:22 momjian Exp $ |
10 | 10 | *
|
11 | 11 | *-------------------------------------------------------------------------
|
12 | 12 | */
|
@@ -488,8 +488,7 @@ help(void)
|
488 | 488 |
|
489 | 489 | printf(_("\nGeneral options:\n"));
|
490 | 490 | printf(_(" -f, --file=FILENAME output file name\n"));
|
491 |
| - printf(_(" -i, --ignore-version proceed even when server version mismatches\n" |
492 |
| - " pg_dumpall version\n")); |
| 491 | + printf(_(" -i, --ignore-version ignore server version mismatch\n")); |
493 | 492 | printf(_(" --help show this help, then exit\n"));
|
494 | 493 | printf(_(" --version output version information, then exit\n"));
|
495 | 494 | printf(_("\nOptions controlling the output content:\n"));
|
@@ -1399,10 +1398,11 @@ connectDatabase(const char *dbname, const char *pghost, const char *pgport,
|
1399 | 1398 | fprintf(stderr, _("server version: %s; %s version: %s\n"),
|
1400 | 1399 | remoteversion_str, progname, PG_VERSION);
|
1401 | 1400 | if (ignoreVersion)
|
1402 |
| - fprintf(stderr, _("proceeding despite version mismatch\n")); |
| 1401 | + fprintf(stderr, _("ignoring server version mismatch\n")); |
1403 | 1402 | else
|
1404 | 1403 | {
|
1405 |
| - fprintf(stderr, _("aborting because of version mismatch (Use the -i option to proceed anyway.)\n")); |
| 1404 | + fprintf(stderr, _("aborting because of server version mismatch\n" |
| 1405 | + "Use the -i option to bypass server version check, but be prepared for failure.\n")); |
1406 | 1406 | exit(1);
|
1407 | 1407 | }
|
1408 | 1408 | }
|
|
0 commit comments