model-writtenrun 8382 - may be wrong, links go to the source messages. Commit-by-commit LLM analysis is in the Commits dialog.
- Joe Conway proposed adding an interrupt check to repeat() after memory testing under fractional CPU allocations exposed poor cancellation responsiveness; his initial submission also included unlikely() hints for CHECK_FOR_INTERRUPTS(), an idea from off-list discussion with Tom Lane, and reported no discernible performance difference in his simple benchmark #1.
- Tom Lane reopened the unresolved Windows handling question #3; after Joe explained the existing InterruptPending hint and uncertainty about the signal queue test #4, Tom requested separate unlikely() hints for both Windows conditions, benefiting GCC builds even without MSVC support #5.
- Michael Paquier supported the hint changes but questioned backpatching them because that was not customary #6.
- Joe committed the repeat() portion of #1 with only include-order cleanup as 887cdff4dc, backpatched it to all supported versions, and left the branch-hint backpatch question open #7.
- Joe posted the remaining macro patch with Tom's additional Windows signal-queue hint and announced his intention to backpatch it #8; Alvaro Herrera recommended stopping at PostgreSQL 10 because PostgreSQL 9.6 did not otherwise use unlikely() #9.
- Joe committed #8 unchanged as 87fb04af1e and confirmed backpatching to PostgreSQL 10 and later, completing both changes proposed in the thread #10.