mirror of
https://github.com/postgres/postgres.git
synced 2025-08-06 18:42:54 +03:00
pg_upgrade: update C comments about pg_dumpall
There were some C comments that hadn't been updated from the switch of using only pg_dumpall to using pg_dump and pg_dumpall, so update them. Also, don't bother using --schema-only for pg_dumpall --globals-only. Backpatch through 9.4
This commit is contained in:
@@ -23,8 +23,8 @@ generate_old_dump(void)
|
||||
|
||||
/* run new pg_dumpall binary for globals */
|
||||
exec_prog(UTILITY_LOG_FILE, NULL, true,
|
||||
"\"%s/pg_dumpall\" %s --schema-only --globals-only "
|
||||
"--quote-all-identifiers --binary-upgrade %s -f %s",
|
||||
"\"%s/pg_dumpall\" %s --globals-only --quote-all-identifiers "
|
||||
"--binary-upgrade %s -f %s",
|
||||
new_cluster.bindir, cluster_conn_opts(&old_cluster),
|
||||
log_opts.verbose ? "--verbose" : "",
|
||||
GLOBALS_DUMP_FILE);
|
||||
|
Reference in New Issue
Block a user