model-writtenrun 292 - may be wrong, links go to the source messages. Commit-by-commit LLM analysis is in the Commits dialog.
- Sami Imseih proposed rejecting WAIT immediately in transactions above READ COMMITTED because the documentation appeared to prohibit it even before a snapshot had been taken #1.
- Xuneng Zhou recommended separate isolation and snapshot checks, corrected the test's invalid standby mode, and demonstrated that cursors and exported snapshots can also block WAIT at READ COMMITTED #2 #3; Sami consequently separated the errors and added coverage for both isolation and cursor cases #4.
- The placement discussion weighed early rejection against preserving argument-validation errors: Sami preferred parsing first, Xuneng accepted that ordering, and Álvaro Herrera proposed keeping snapshot cleanup and its subsequent check together #9 #10 #8; Sami moved the isolation check immediately before that block #12.
- Xuneng supported backpatching to PostgreSQL 19 and requested stronger tests #13; Sami tightened the primary-error assertions but declined changing the unreachable target LSN or adding a negative DETAIL assertion at that stage #14, and Xuneng subsequently rebased the patch #16.
- After Nathan Bossart identified the issue as a PostgreSQL 19 open item #17, Alexander Korotkov replaced the blanket rejection with a documentation and error-reporting fix, arguing that BEGIN followed by WAIT and then application work should remain usable at every isolation level #18.
- Sami accepted the more flexible behavior and proposed replacing internal snapshot terminology with descriptions of snapshots held by the transaction #20, later recognizing that drivers may issue BEGIN automatically #22; Xuneng requested an explanation of why holding a snapshot prevents waiting safely #21, and Alexander incorporated both requests #23.
- Sami proposed substantially shorter documentation, and Xuneng supported consolidation #25 #26; Alexander condensed the explanation while retaining cursor and exported-snapshot examples, the dependency on replay, and the reason WAIT is a command #27.
- Sami requested clearer wording about other standby modes waiting for replay #28; after an accidental duplicate attachment was identified #30, Alexander supplied the corrected wording #31, which Sami accepted without further comments #32.
- Alexander committed #31 as 26a3c0a45c with only test formatting changes and backpatched the change to PostgreSQL 19, announcing the push in #33.
- The thread ended with the release open item marked resolved by Sami and Alexander #35 #36; the original blanket isolation-level rejection was abandoned, and no remaining patch work was identified.