pg_dump: Improve message formatting
authorPeter Eisentraut <peter_e@gmx.net>
Sun, 28 Apr 2013 03:06:37 +0000 (23:06 -0400)
committerPeter Eisentraut <peter_e@gmx.net>
Sun, 28 Apr 2013 03:06:37 +0000 (23:06 -0400)
src/bin/pg_dump/pg_dump.c

index 221ae73fc555de7cb40f55cfab866784eba51118..007b0865eb506fc8a8263974c09cc44b7986ac71 100644 (file)
@@ -675,9 +675,9 @@ main(int argc, char **argv)
    if (numWorkers > 1 && fout->remoteVersion < 90200
        && !no_synchronized_snapshots)
        exit_horribly(NULL,
-             "No synchronized snapshots available in this server version.\n"
-              "Run with --no-synchronized-snapshots instead if you do not\n"
-                     "need synchronized snapshots.\n");
+                     "Synchronized snapshots are not supported by this server version.\n"
+                     "Run with --no-synchronized-snapshots instead if you do not need\n"
+                     "synchronized snapshots.\n");
 
    /* Find the last built-in OID, if needed */
    if (fout->remoteVersion < 70300)
@@ -891,7 +891,7 @@ help(const char *progname)
    printf(_("  --exclude-table-data=TABLE   do NOT dump data for the named table(s)\n"));
    printf(_("  --inserts                    dump data as INSERT commands, rather than COPY\n"));
    printf(_("  --no-security-labels         do not dump security label assignments\n"));
-   printf(_("  --no-synchronized-snapshots parallel processes should not use synchronized snapshots\n"));
+   printf(_("  --no-synchronized-snapshots  do not use synchronized snapshots in parallel jobs\n"));
    printf(_("  --no-tablespaces             do not dump tablespace assignments\n"));
    printf(_("  --no-unlogged-table-data     do not dump unlogged table data\n"));
    printf(_("  --quote-all-identifiers      quote all identifiers, even if not key words\n"));