Skip to content

Commit bbb4db4

Browse files
committed
pg_dump: Improve message formatting
1 parent 5194024 commit bbb4db4

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/bin/pg_dump/pg_dump.c

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -675,9 +675,9 @@ main(int argc, char **argv)
675675
if (numWorkers > 1 && fout->remoteVersion < 90200
676676
&& !no_synchronized_snapshots)
677677
exit_horribly(NULL,
678-
"No synchronized snapshots available in this server version.\n"
679-
"Run with --no-synchronized-snapshots instead if you do not\n"
680-
"need synchronized snapshots.\n");
678+
"Synchronized snapshots are not supported by this server version.\n"
679+
"Run with --no-synchronized-snapshots instead if you do not need\n"
680+
"synchronized snapshots.\n");
681681

682682
/* Find the last built-in OID, if needed */
683683
if (fout->remoteVersion < 70300)
@@ -891,7 +891,7 @@ help(const char *progname)
891891
printf(_(" --exclude-table-data=TABLE do NOT dump data for the named table(s)\n"));
892892
printf(_(" --inserts dump data as INSERT commands, rather than COPY\n"));
893893
printf(_(" --no-security-labels do not dump security label assignments\n"));
894-
printf(_(" --no-synchronized-snapshots parallel processes should not use synchronized snapshots\n"));
894+
printf(_(" --no-synchronized-snapshots do not use synchronized snapshots in parallel jobs\n"));
895895
printf(_(" --no-tablespaces do not dump tablespace assignments\n"));
896896
printf(_(" --no-unlogged-table-data do not dump unlogged table data\n"));
897897
printf(_(" --quote-all-identifiers quote all identifiers, even if not key words\n"));

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy