mirror of
https://git.postgresql.org/git/postgresql.git
synced 2025-01-30 19:00:29 +08:00
Have pg_upgrade output 'link' or 'copy' when reporting its status.
Idea from Peter.
This commit is contained in:
parent
d44a3fb55d
commit
7f951474dc
@ -37,7 +37,8 @@ transfer_all_new_dbs(DbInfoArr *old_db_arr,
|
||||
int old_dbnum, new_dbnum;
|
||||
const char *msg = NULL;
|
||||
|
||||
prep_status("Restoring user relation files\n");
|
||||
prep_status("%s user relation files\n",
|
||||
user_opts.transfer_mode == TRANSFER_MODE_LINK ? "Linking" : "Copying");
|
||||
|
||||
/* Scan the old cluster databases and transfer their files */
|
||||
for (old_dbnum = new_dbnum = 0;
|
||||
|
Loading…
Reference in New Issue
Block a user