Commit 7f951474 authored by Bruce Momjian's avatar Bruce Momjian

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

Idea from Peter.
parent d44a3fb5
...@@ -37,7 +37,8 @@ transfer_all_new_dbs(DbInfoArr *old_db_arr, ...@@ -37,7 +37,8 @@ transfer_all_new_dbs(DbInfoArr *old_db_arr,
int old_dbnum, new_dbnum; int old_dbnum, new_dbnum;
const char *msg = NULL; 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 */ /* Scan the old cluster databases and transfer their files */
for (old_dbnum = new_dbnum = 0; for (old_dbnum = new_dbnum = 0;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment