diff options
author | Heikki Linnakangas <heikki.linnakangas@iki.fi> | 2014-04-01 16:23:16 +0300 |
---|---|---|
committer | Heikki Linnakangas <heikki.linnakangas@iki.fi> | 2014-04-01 16:23:16 +0300 |
commit | f7534296b484fa73b064c87cc3a5062ba3803f3b (patch) | |
tree | f95fff06dfe3b36dab13b7d5d1fcfd3e5739e128 /src | |
parent | 554bb3beba27bf4a49edecc40f6c0f249974bc7c (diff) | |
download | postgresql-f7534296b484fa73b064c87cc3a5062ba3803f3b.tar.gz postgresql-f7534296b484fa73b064c87cc3a5062ba3803f3b.zip |
Move SizeOfHeapNewCid next to xl_heap_new_cid struct.
They belong together, but the xl_heap_rewrite_mapping struct was wedged
in between.
Diffstat (limited to 'src')
-rw-r--r-- | src/include/access/heapam_xlog.h | 4 |
1 files changed, 2 insertions, 2 deletions
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); |