| From: | Álvaro Herrera <alvherre(at)kurilemu(dot)de> |
|---|---|
| To: | pgsql-committers(at)lists(dot)postgresql(dot)org |
| Subject: | pgsql: Remove HeapTupleheaderSetXminCommitted/Invalid functions |
| Date: | 2026-02-09 18:22:51 |
| Message-ID: | E1vpVuN-00283L-0N@gemulon.postgresql.org |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-committers |
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(at)163(dot)com>
Discussion: https://postgr.es/m/87sejogt4g.fsf@163.com
Branch
------
master
Details
-------
https://git.postgresql.org/pg/commitdiff/cbef472558ca50d282414e68083717c44b92ad62
Modified Files
--------------
src/include/access/htup_details.h | 14 --------------
1 file changed, 14 deletions(-)
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Heikki Linnakangas | 2026-02-09 18:26:35 | pgsql: cleanup: Deadlock checker is no longer called from signal handle |
| Previous Message | Heikki Linnakangas | 2026-02-09 17:39:46 | pgsql: Fix incorrect iteration type in extension_file_exists() |