Skip to content

Commit 3536b85

Browse files
committed
Fix compilation with WAL_DEBUG.
Broke with 5c279a6. But looks like it had been half-broken since 70e8186, because 'rmid' didn't refer to the current record's rmid anymore, but to rmid from "Initialize resource managers" - a constant.
1 parent 5c279a6 commit 3536b85

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/backend/access/transam/xlogrecovery.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1634,8 +1634,8 @@ PerformWalRecovery(void)
16341634

16351635
#ifdef WAL_DEBUG
16361636
if (XLOG_DEBUG ||
1637-
(rmid == RM_XACT_ID && trace_recovery_messages <= DEBUG2) ||
1638-
(rmid != RM_XACT_ID && trace_recovery_messages <= DEBUG3))
1637+
(record->xl_rmid == RM_XACT_ID && trace_recovery_messages <= DEBUG2) ||
1638+
(record->xl_rmid != RM_XACT_ID && trace_recovery_messages <= DEBUG3))
16391639
{
16401640
StringInfoData buf;
16411641

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy