mirror of
https://github.com/postgres/postgres.git
synced 2025-05-30 00:02:11 -04:00
Fix compilation with WAL_DEBUG.
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.
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…
x
Reference in New Issue
Block a user