Have pg_upgrade output 'link' or 'copy' when reporting its status.

Idea from Peter.
This commit is contained in:
Bruce Momjian 2012-02-15 14:22:54 -05:00
parent d44a3fb55d
commit 7f951474dc
1 changed files with 2 additions and 1 deletions

View File

@ -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;