model-writtenrun 4502 - may be wrong, links go to the source messages. Commit-by-commit LLM analysis is in the Commits dialog.
- Etsuro Fujita proposed optional inheritance of remote read-only and deferrable modes after demonstrating that a local read-only transaction could modify remote data through a view executing a function #1.
- Ashutosh Bapat questioned making correctness optional, and Tom Lane argued that configurable transactional behavior would complicate applications; Etsuro consequently replaced the options with unconditional inheritance, added regression tests, and proposed a development-branch-only fix because no field reports were known #3 #4 #5 #6.
- Ashutosh requested that remote subtransactions inherit transaction properties too; Etsuro implemented this by tracking the outermost read-only nesting level, rather than copying a complete property stack, and added savepoint tests #7 #9.
- Etsuro then removed an assertion that failed with multiple connections, added the reproducing test, and polished comments and formatting before proposing the patch for commit #10 #11.
- Etsuro landed #11 as e5a3c9d9b5, extending only the comment explaining inherited read-only state, and announced the push #12.
- After a long gap, Etsuro reported that the change had been reverted and re-proposed it for PostgreSQL 19 with a documentation warning that remote login triggers could still write; the supplied thread does not explain the revert's underlying reason #13.
- Etsuro subsequently renamed the nesting-state variable to read_only_level and expanded comments without changing the implementation's behavior #14.
- Fujii Masao warned that unconditional inheritance would prevent standby sessions from modifying remote data, while Etsuro acknowledged that compatibility break and defended consistent read-only behavior, suggesting dblink for affected applications #15 #16.
- Ashutosh supported consistent behavior on primary and standby servers, recommended highlighting the incompatibility in beta release notes, and suggested reconsidering an option if evidence of affected applications emerged; Etsuro agreed #17 #18.
- Etsuro announced his intention to commit and then confirmed the push; the second landing, de28140ded, matches #14 with comment refinements and a compatibility-focused commit message, leaving no patch outstanding in the thread #19 #20.