mirror of
https://git.postgresql.org/git/postgresql.git
synced 2025-03-07 19:47:50 +08:00
Move SizeOfHeapNewCid next to xl_heap_new_cid struct.
They belong together, but the xl_heap_rewrite_mapping struct was wedged in between.
This commit is contained in:
parent
554bb3beba
commit
f7534296b4
@ -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);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user