Broke with
5c279a6d350. But looks like it had been half-broken since
70e81861fad, because 'rmid' didn't refer to the current record's rmid anymore,
but to rmid from "Initialize resource managers" - a constant.
#ifdef WAL_DEBUG
if (XLOG_DEBUG ||
- (rmid == RM_XACT_ID && trace_recovery_messages <= DEBUG2) ||
- (rmid != RM_XACT_ID && trace_recovery_messages <= DEBUG3))
+ (record->xl_rmid == RM_XACT_ID && trace_recovery_messages <= DEBUG2) ||
+ (record->xl_rmid != RM_XACT_ID && trace_recovery_messages <= DEBUG3))
{
StringInfoData buf;