diff --git a/src/include/access/heapam_xlog.h b/src/include/access/heapam_xlog.h index d6bc8f7f24f..4d8cdf0f176 100644 --- a/src/include/access/heapam_xlog.h +++ b/src/include/access/heapam_xlog.h @@ -349,6 +349,8 @@ typedef struct xl_heap_new_cid 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 { @@ -360,8 +362,6 @@ 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);