File tree Expand file tree Collapse file tree 2 files changed +6
-5
lines changed Expand file tree Collapse file tree 2 files changed +6
-5
lines changed Original file line number Diff line number Diff line change @@ -18,16 +18,17 @@ generate_old_dump(void)
1818{
1919 int dbnum ;
2020
21- prep_status ("Creating catalog dump\n" );
22-
23- pg_log (PG_REPORT , OVERWRITE_MESSAGE , "global objects" );
21+ prep_status ("Creating dump of global objects" );
2422
2523 /* run new pg_dumpall binary for globals */
2624 exec_prog (UTILITY_LOG_FILE , NULL , true,
2725 "\"%s/pg_dumpall\" %s --schema-only --globals-only --binary-upgrade %s -f %s" ,
2826 new_cluster .bindir , cluster_conn_opts (& old_cluster ),
2927 log_opts .verbose ? "--verbose" : "" ,
3028 GLOBALS_DUMP_FILE );
29+ check_ok ();
30+
31+ prep_status ("Creating dump of database schemas\n" );
3132
3233 /* create per-db dump files */
3334 for (dbnum = 0 ; dbnum < old_cluster .dbarr .ndbs ; dbnum ++ )
Original file line number Diff line number Diff line change @@ -248,7 +248,7 @@ prepare_new_databases(void)
248248
249249 set_frozenxids ();
250250
251- prep_status ("Creating databases in the new cluster" );
251+ prep_status ("Restoring global objects in the new cluster" );
252252
253253 /*
254254 * Install support functions in the global-object restore database to
@@ -297,7 +297,7 @@ create_new_objects(void)
297297 }
298298 check_ok ();
299299
300- prep_status ("Restoring database schema to new cluster\n" );
300+ prep_status ("Restoring database schemas in the new cluster\n" );
301301
302302 for (dbnum = 0 ; dbnum < old_cluster .dbarr .ndbs ; dbnum ++ )
303303 {
You can’t perform that action at this time.
0 commit comments