We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent dad8bed commit ff03112Copy full SHA for ff03112
src/backend/access/transam/xact.c
@@ -5365,7 +5365,7 @@ XactLogCommitRecord(TimestampTz commit_time,
5365
{
5366
XLogRegisterData((char *) (&xl_twophase), sizeof(xl_xact_twophase));
5367
if (xl_xinfo.xinfo & XACT_XINFO_HAS_GID)
5368
- XLogRegisterData((char *) twophase_gid, strlen(twophase_gid));
+ XLogRegisterData((char *) twophase_gid, strlen(twophase_gid) + 1);
5369
}
5370
5371
if (xl_xinfo.xinfo & XACT_XINFO_HAS_ORIGIN)
0 commit comments