We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see ourdocumentation.
There was an error while loading.Please reload this page.
1 parent7fea40d commitca758deCopy full SHA for ca758de
src/backend/access/transam/twophase.c
@@ -1276,6 +1276,7 @@ ParsePrepareRecord(uint8 info, char *xlrec, xl_xact_parsed_prepare *parsed)
1276
1277
parsed->origin_lsn=hdr->xl_origin.origin_lsn;
1278
parsed->origin_timestamp=hdr->xl_origin.origin_timestamp;
1279
+parsed->xinfo=hdr->xl_origin.origin_lsn!=InvalidXLogRecPtr ?XACT_XINFO_HAS_ORIGIN :0;
1280
1281
strncpy(parsed->twophase_gid,bufptr,hdr->gidlen);
1282
bufptr+=MAXALIGN(hdr->gidlen);
@@ -1285,7 +1286,7 @@ ParsePrepareRecord(uint8 info, char *xlrec, xl_xact_parsed_prepare *parsed)
1285
1286
parsed->nsubxacts=hdr->nsubxacts;
1287
parsed->nrels=hdr->ncommitrels;
1288
parsed->nmsgs=hdr->ninvalmsgs;
-
1289
+
1290
parsed->subxacts= (TransactionId*)bufptr;
1291
bufptr+=MAXALIGN(hdr->nsubxacts*sizeof(TransactionId));
1292