mirror of
https://git.postgresql.org/git/postgresql.git
synced 2025-03-13 19:57:53 +08:00
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.
This commit is contained in:
parent
884dede37a
commit
85ba0748ed
@ -1276,7 +1276,7 @@ begin:;
|
||||
rdt_lastnormal->next = NULL;
|
||||
|
||||
initStringInfo(&recordbuf);
|
||||
appendBinaryStringInfo(&recordbuf, (char *) &rechdr, sizeof(XLogRecord));
|
||||
appendBinaryStringInfo(&recordbuf, (char *) rechdr, sizeof(XLogRecord));
|
||||
for (; rdata != NULL; rdata = rdata->next)
|
||||
appendBinaryStringInfo(&recordbuf, rdata->data, rdata->len);
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user