Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a24ae3d commit 4669cacCopy full SHA for 4669cac
src/include/access/htup_details.h
@@ -443,11 +443,10 @@ do { \
443
)
444
445
#define HeapTupleHeaderIndicatesMovedPartitions(tup) \
446
- (ItemPointerGetOffsetNumber(&(tup)->t_ctid) == MovedPartitionsOffsetNumber && \
447
- ItemPointerGetBlockNumberNoCheck(&(tup)->t_ctid) == MovedPartitionsBlockNumber)
+ ItemPointerIndicatesMovedPartitions(&(tup)->t_ctid)
448
449
#define HeapTupleHeaderSetMovedPartitions(tup) \
450
- ItemPointerSet(&(tup)->t_ctid, MovedPartitionsBlockNumber, MovedPartitionsOffsetNumber)
+ ItemPointerSetMovedPartitions(&(tup)->t_ctid)
451
452
#define HeapTupleHeaderGetDatumLength(tup) \
453
VARSIZE(tup)
0 commit comments