{
int dbnum;
- prep_status("Creating catalog dump\n");
-
- pg_log(PG_REPORT, OVERWRITE_MESSAGE, "global objects");
+ prep_status("Creating dump of global objects");
/* run new pg_dumpall binary for globals */
exec_prog(UTILITY_LOG_FILE, NULL, true,
new_cluster.bindir, cluster_conn_opts(&old_cluster),
log_opts.verbose ? "--verbose" : "",
GLOBALS_DUMP_FILE);
+ check_ok();
+
+ prep_status("Creating dump of database schemas\n");
/* create per-db dump files */
for (dbnum = 0; dbnum < old_cluster.dbarr.ndbs; dbnum++)
set_frozenxids();
- prep_status("Creating databases in the new cluster");
+ prep_status("Restoring global objects in the new cluster");
/*
* Install support functions in the global-object restore database to
}
check_ok();
- prep_status("Restoring database schema to new cluster\n");
+ prep_status("Restoring database schemas in the new cluster\n");
for (dbnum = 0; dbnum < old_cluster.dbarr.ndbs; dbnum++)
{