Commit bbb4db4e authored by Peter Eisentraut's avatar Peter Eisentraut

pg_dump: Improve message formatting

parent 5194024d
...@@ -675,9 +675,9 @@ main(int argc, char **argv) ...@@ -675,9 +675,9 @@ main(int argc, char **argv)
if (numWorkers > 1 && fout->remoteVersion < 90200 if (numWorkers > 1 && fout->remoteVersion < 90200
&& !no_synchronized_snapshots) && !no_synchronized_snapshots)
exit_horribly(NULL, exit_horribly(NULL,
"No synchronized snapshots available in this server version.\n" "Synchronized snapshots are not supported by this server version.\n"
"Run with --no-synchronized-snapshots instead if you do not\n" "Run with --no-synchronized-snapshots instead if you do not need\n"
"need synchronized snapshots.\n"); "synchronized snapshots.\n");
/* Find the last built-in OID, if needed */ /* Find the last built-in OID, if needed */
if (fout->remoteVersion < 70300) if (fout->remoteVersion < 70300)
...@@ -891,7 +891,7 @@ help(const char *progname) ...@@ -891,7 +891,7 @@ help(const char *progname)
printf(_(" --exclude-table-data=TABLE do NOT dump data for the named table(s)\n")); 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(_(" --inserts dump data as INSERT commands, rather than COPY\n"));
printf(_(" --no-security-labels do not dump security label assignments\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-tablespaces do not dump tablespace assignments\n"));
printf(_(" --no-unlogged-table-data do not dump unlogged table data\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")); printf(_(" --quote-all-identifiers quote all identifiers, even if not key words\n"));
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment