Fix compilation with WAL_DEBUG.
Broke with5c279a6d35
. But looks like it had been half-broken since70e81861fa
, because 'rmid' didn't refer to the current record's rmid anymore, but to rmid from "Initialize resource managers" - a constant.
This commit is contained in:
parent
5c279a6d35
commit
3536b851ad
|
@ -1634,8 +1634,8 @@ PerformWalRecovery(void)
|
|||
|
||||
#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;
|
||||
|
||||
|
|
Loading…
Reference in New Issue