Skip to content

Commit 85ba074

Browse files
committed
Fix bug in WAL_DEBUG.
The record header was not copied correctly to the buffer that was passed to the rm_desc function. Broken by my rm_desc signature refactoring patch.
1 parent 884dede commit 85ba074

File tree

1 file changed

+1
-1
lines changed
  • src/backend/access/transam

1 file changed

+1
-1
lines changed

src/backend/access/transam/xlog.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1276,7 +1276,7 @@ begin:;
12761276
rdt_lastnormal->next = NULL;
12771277

12781278
initStringInfo(&recordbuf);
1279-
appendBinaryStringInfo(&recordbuf, (char *) &rechdr, sizeof(XLogRecord));
1279+
appendBinaryStringInfo(&recordbuf, (char *) rechdr, sizeof(XLogRecord));
12801280
for (; rdata != NULL; rdata = rdata->next)
12811281
appendBinaryStringInfo(&recordbuf, rdata->data, rdata->len);
12821282

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