]> git.ipfire.org Git - thirdparty/postgresql.git/commit
Remove HeapTupleheaderSetXminCommitted/Invalid functions
authorÁlvaro Herrera <alvherre@kurilemu.de>
Mon, 9 Feb 2026 18:15:20 +0000 (19:15 +0100)
committerÁlvaro Herrera <alvherre@kurilemu.de>
Mon, 9 Feb 2026 18:15:20 +0000 (19:15 +0100)
commitcbef472558ca50d282414e68083717c44b92ad62
tree97632350bfaafc2b0cf41954fd1c885ad1da283a
parent18f0afb2a635b433e778684acabffe1e52da8a86
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
src/include/access/htup_details.h