Skip to content

Commit 5ae273a

Browse files
author
Commitfest Bot
committed
[CF 5870] v2 - Remove HeapTupleheaderSetXmin{Committed,Invalid} functions
This branch was automatically generated by a robot using patches from an email thread registered at: https://commitfest.postgresql.org/patch/5870 The branch will be overwritten each time a new patch version is posted to the thread, and also periodically to check for bitrot caused by changes on the master branch. Patch(es): https://www.postgresql.org/message-id/87bjq8h357.fsf@163.com Author(s): Andy Fan
2 parents 5761d99 + cc0dda6 commit 5ae273a

File tree

1 file changed

+0
-14
lines changed

1 file changed

+0
-14
lines changed

src/include/access/htup_details.h

Lines changed: 0 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -357,20 +357,6 @@ HeapTupleHeaderXminFrozen(const HeapTupleHeaderData *tup)
357357
return (tup->t_infomask & HEAP_XMIN_FROZEN) == HEAP_XMIN_FROZEN;
358358
}
359359

360-
static inline void
361-
HeapTupleHeaderSetXminCommitted(HeapTupleHeaderData *tup)
362-
{
363-
Assert(!HeapTupleHeaderXminInvalid(tup));
364-
tup->t_infomask |= HEAP_XMIN_COMMITTED;
365-
}
366-
367-
static inline void
368-
HeapTupleHeaderSetXminInvalid(HeapTupleHeaderData *tup)
369-
{
370-
Assert(!HeapTupleHeaderXminCommitted(tup));
371-
tup->t_infomask |= HEAP_XMIN_INVALID;
372-
}
373-
374360
static inline void
375361
HeapTupleHeaderSetXminFrozen(HeapTupleHeaderData *tup)
376362
{

0 commit comments

Comments
 (0)