Skip to content

Commit f753429

Browse files
committed
Move SizeOfHeapNewCid next to xl_heap_new_cid struct.
They belong together, but the xl_heap_rewrite_mapping struct was wedged in between.
1 parent 554bb3b commit f753429

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/include/access/heapam_xlog.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -349,6 +349,8 @@ typedef struct xl_heap_new_cid
349349
xl_heaptid target;
350350
} xl_heap_new_cid;
351351

352+
#define SizeOfHeapNewCid (offsetof(xl_heap_new_cid, target) + SizeOfHeapTid)
353+
352354
/* logical rewrite xlog record header */
353355
typedef struct xl_heap_rewrite_mapping
354356
{
@@ -360,8 +362,6 @@ typedef struct xl_heap_rewrite_mapping
360362
XLogRecPtr start_lsn; /* Insert LSN at begin of rewrite */
361363
} xl_heap_rewrite_mapping;
362364

363-
#define SizeOfHeapNewCid (offsetof(xl_heap_new_cid, target) + SizeOfHeapTid)
364-
365365
extern void HeapTupleHeaderAdvanceLatestRemovedXid(HeapTupleHeader tuple,
366366
TransactionId *latestRemovedXid);
367367

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy