model-writtenrun 8097 - may be wrong, links go to the source messages. Commit-by-commit LLM analysis is in the Commits dialog.
- Alvaro Herrera posted #1 after Pavan Deolasee noticed redundant partition-movement checks: once t_self equals t_ctid, t_ctid cannot contain the special moved-partition value, so seven checks could be removed without changing behavior.
- The supplied candidate 85adb5e91e records the attached patch unchanged on October 15, 2020; the supplied discussion does not explain why the same change subsequently appeared again.
- Pavan Deolasee endorsed the cleanup in #2, and Anastasia Lubennikova reported successful testing and marked the patch ready for a committer in #3.
- Michael Paquier identified an unused ItemPointerSetMovedPartitions macro and suggested correcting its documentation in #5; Alvaro initially agreed to remove the macro and update the comment in #6.
- Alvaro committed the original seven-check removal, unchanged apart from rebasing, as 0f5505a881 on February 22, 2021.
- Alvaro reconsidered removing the macro because its companion had callers and the interface would become asymmetric, posting an inline patch in #8 that instead made both HeapTupleHeader macros reuse the existing ItemPointer macros.
- Michael expressed agreement in #9, and Alvaro committed the inline macro cleanup as 4669cacbd4, confirming the push in #10; both cleanups were then committed with no outstanding work identified.