Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit5eeab9c

Browse files
committed
In pg_upgrade, improve status wording now that we have per-database
status output for dump/restore.
1 parent113d25c commit5eeab9c

File tree

2 files changed

+6
-5
lines changed

2 files changed

+6
-5
lines changed

‎contrib/pg_upgrade/dump.c

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,16 +18,17 @@ generate_old_dump(void)
1818
{
1919
intdbnum;
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++)

‎contrib/pg_upgrade/pg_upgrade.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff 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 databaseschema to new cluster\n");
300+
prep_status("Restoring databaseschemas in the new cluster\n");
301301

302302
for (dbnum=0;dbnum<old_cluster.dbarr.ndbs;dbnum++)
303303
{

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp