mirror of
https://github.com/postgres/postgres.git
synced 2025-05-02 11:44:50 +03: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_heaptid target;
|
||||||
} xl_heap_new_cid;
|
} xl_heap_new_cid;
|
||||||
|
|
||||||
|
#define SizeOfHeapNewCid (offsetof(xl_heap_new_cid, target) + SizeOfHeapTid)
|
||||||
|
|
||||||
/* logical rewrite xlog record header */
|
/* logical rewrite xlog record header */
|
||||||
typedef struct xl_heap_rewrite_mapping
|
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 */
|
XLogRecPtr start_lsn; /* Insert LSN at begin of rewrite */
|
||||||
} xl_heap_rewrite_mapping;
|
} xl_heap_rewrite_mapping;
|
||||||
|
|
||||||
#define SizeOfHeapNewCid (offsetof(xl_heap_new_cid, target) + SizeOfHeapTid)
|
|
||||||
|
|
||||||
extern void HeapTupleHeaderAdvanceLatestRemovedXid(HeapTupleHeader tuple,
|
extern void HeapTupleHeaderAdvanceLatestRemovedXid(HeapTupleHeader tuple,
|
||||||
TransactionId *latestRemovedXid);
|
TransactionId *latestRemovedXid);
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user