Remove HeapTupleheaderSetXminCommitted/Invalid functions

Álvaro Herrera <alvherre@kurilemu.de>

Commit: cbef472558ca50d282414e68083717c44b92ad62
Author: Álvaro Herrera <alvherre@kurilemu.de>
Date: 2026-02-09T18:15:20Z
Remove HeapTupleheaderSetXminCommitted/Invalid functions

They are not and never have been used by any known code -- apparently we
just cargo-culted them in commit 37484ad2aace (or their ancestor macros
anyway, which begat these functions in commit 34694ec888d6).  Allegedly
they're also potentially dangerous; users are better off going through
HeapTupleSetHintBits instead.

Author: Andy Fan <zhihuifan1213@163.com>
Discussion: https://postgr.es/m/87sejogt4g.fsf@163.com

Files

PathChange+/−
src/include/access/htup_details.h modified +0 −14

Discussion