Skip to content

Commit 7f95147

Browse files
committed
Have pg_upgrade output 'link' or 'copy' when reporting its status.
Idea from Peter.
1 parent d44a3fb commit 7f95147

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

contrib/pg_upgrade/relfilenode.c

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,8 @@ transfer_all_new_dbs(DbInfoArr *old_db_arr,
3737
int old_dbnum, new_dbnum;
3838
const char *msg = NULL;
3939

40-
prep_status("Restoring user relation files\n");
40+
prep_status("%s user relation files\n",
41+
user_opts.transfer_mode == TRANSFER_MODE_LINK ? "Linking" : "Copying");
4142

4243
/* Scan the old cluster databases and transfer their files */
4344
for (old_dbnum = new_dbnum = 0;

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy