Skip to content

Commit 845626f

Browse files
committed
In pg_upgrade, fix backward logging display of link operations.
1 parent ee718c2 commit 845626f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

contrib/pg_upgrade/relfilenode.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -218,7 +218,7 @@ transfer_relfile(migratorContext *ctx, pageCnvCtx *pageConverter, const char *ol
218218
}
219219
else
220220
{
221-
pg_log(ctx, PG_INFO, "linking %s to %s\n", newfile, oldfile);
221+
pg_log(ctx, PG_INFO, "linking %s to %s\n", oldfile, newfile);
222222

223223
if ((msg = linkAndUpdateFile(ctx, pageConverter, oldfile, newfile)) != NULL)
224224
pg_log(ctx, PG_FATAL,

0 commit comments

Comments
 (0)