diff --git a/src/backend/distributed/replication/multi_logical_replication.c b/src/backend/distributed/replication/multi_logical_replication.c index cd34a787a..2dbf8daa8 100644 --- a/src/backend/distributed/replication/multi_logical_replication.c +++ b/src/backend/distributed/replication/multi_logical_replication.c @@ -1882,14 +1882,15 @@ WaitForGroupedLogicalRepTargetsToCatchUp(XLogRecPtr sourcePosition, GetCurrentTimestamp(), logicalReplicationProgressReportTimeout)) { - ereport(LOG, (errmsg( - "The LSN of the target subscriptions on node %s:%d have " - "increased from %ld to %ld at %s where the source LSN is %ld ", - superuserConnection->hostname, - superuserConnection->port, previousTargetBeforeThisLoop, - targetPosition, - timestamptz_to_str(previousLSNIncrementTime), - sourcePosition))); + ereport(LOG, (errmsg("The LSN of the target subscriptions on node %s:%d " + "has increased from %X/%X to %X/%X at %s where the " + "source LSN is %X/%X ", + superuserConnection->hostname, + superuserConnection->port, + LSN_FORMAT_ARGS(previousTargetBeforeThisLoop), + LSN_FORMAT_ARGS(targetPosition), + timestamptz_to_str(previousLSNIncrementTime), + LSN_FORMAT_ARGS(sourcePosition)))); previousReportTime = GetCurrentTimestamp(); }