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 369c0b0 commit 763b8f5Copy full SHA for 763b8f5
src/backend/utils/time/snapmgr.c
@@ -1515,7 +1515,7 @@ SerializeSnapshot(Snapshot snapshot, char *start_address)
1515
* snapshot taken during recovery; all the top-level XIDs are in subxip as
1516
* well in that case, so we mustn't lose them.
1517
*/
1518
- if (snapshot->subxcnt > 0)
+ if (serialized_snapshot->subxcnt > 0)
1519
{
1520
Size subxipoff = sizeof(SerializedSnapshotData) +
1521
snapshot->xcnt * sizeof(TransactionId);
0 commit comments