They belong together, but the xl_heap_rewrite_mapping struct was wedged
in between.
xl_heaptid target;
} xl_heap_new_cid;
+#define SizeOfHeapNewCid (offsetof(xl_heap_new_cid, target) + SizeOfHeapTid)
+
/* logical rewrite xlog record header */
typedef struct xl_heap_rewrite_mapping
{
XLogRecPtr start_lsn; /* Insert LSN at begin of rewrite */
} xl_heap_rewrite_mapping;
-#define SizeOfHeapNewCid (offsetof(xl_heap_new_cid, target) + SizeOfHeapTid)
-
extern void HeapTupleHeaderAdvanceLatestRemovedXid(HeapTupleHeader tuple,
TransactionId *latestRemovedXid);