From: Bruce Momjian Date: Wed, 15 Feb 2012 19:22:54 +0000 (-0500) Subject: Have pg_upgrade output 'link' or 'copy' when reporting its status. X-Git-Tag: REL9_2_BETA1~414 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=7f951474dc01cef3c829d953429246fc308cac68;p=postgresql Have pg_upgrade output 'link' or 'copy' when reporting its status. Idea from Peter. --- diff --git a/contrib/pg_upgrade/relfilenode.c b/contrib/pg_upgrade/relfilenode.c index 54ee5f0b81..a1e30b1f0c 100644 --- a/contrib/pg_upgrade/relfilenode.c +++ b/contrib/pg_upgrade/relfilenode.c @@ -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;