model-writtenrun 6169 - may be wrong, links go to the source messages. Commit-by-commit LLM analysis is in the Commits dialog.
- Yugo Nagata reported that extreme throttling rates combined with a latency limit could leave pgbench counting skipped transactions beyond its requested duration, and proposed checking timer expiration inside the catch-up loop in #1.
- Fabien COELHO confirmed the problem and replaced the catch-up loop with state-machine rescheduling, checking termination after each skipped transaction and removing duplicate scheduling code in #2.
- Yugo Nagata found that progress reporting still needed control to return to threadRun and supplied that change in #3, but Fabien questioned the structural change for unrealistic parameters in #4; Yugo agreed in #5 and explicitly withdrew it by restoring Fabien's patch in #6.
- Greg Sabino Mullane approved the restored patch in #7; after Yugo questioned its failed review checkboxes in #8, Greg confirmed that the markings were mistakes and that he had found no problems in #9.
- Fujii Masao observed that stopping promptly could leave skipped transactions uncounted even at realistic rates, while noting that complete accounting under -T was already not guaranteed in #11; Fabien confirmed that this tradeoff was acceptable in #12.
- Fujii proposed comments explaining the accounting tradeoff and asked about backpatch scope in #13; Fabien approved the wording and recommended development and possibly PostgreSQL 14 only in #14, leading to Fujii's final attachment and plan to target both branches in #15.
- Fujii committed #15 unchanged as 9bcbd7c581, with a PostgreSQL 14 backport, and announced completion in #16; older stable branches were deliberately excluded because the triggering settings were unrealistic, and no patch remained pending.