model-writtenrun 9183 - may be wrong, links go to the source messages. Commit-by-commit LLM analysis is in the Commits dialog.
- Alexander Kukushkin reported that globally configured statement timeouts could interrupt pg_rewind and undermine automation, and proposed disabling statement_timeout on its source connection in #1.
- David Fetter asked whether other tools needed similar treatment in #2 and #4, while Tom Lane pointed to pg_dump's existing practice in #3; Michael Paquier identified other possible tools and cautioned that extremely short timeouts could cancel even the disabling command in #5.
- Michael Paquier proposed disabling lock_timeout and idle_in_transaction_session_timeout and sharing command-execution code in #5; Alexander Kukushkin questioned the need for those timeouts and explained why commands and queries require different result checks in #6, leading Michael to propose a separate run_simple_command() helper in #7.
- Alexander Kukushkin incorporated the additional timeout settings and the command helper in #8, including reuse for synchronous_commit and temporary-table creation.
- Michael Paquier committed #8 as be182e4f9e with comment and diagnostic cleanup and removal of an unused variable, announcing backpatches through PostgreSQL 9.5 and the version-specific omission of idle_in_transaction_session_timeout in #9.
- The work was complete when Alexander Kukushkin acknowledged the commit and explained that build output had obscured the unused-variable warning in #10; Tom Lane recommended quieter builds in #11, with no further patch work outstanding.