model-writtenrun 2238 - may be wrong, links go to the source messages. Commit-by-commit LLM analysis is in the Commits dialog.
- Yonghao lee reported that a view using FETCH FIRST with a bigint expression produced a definition that failed to parse because required parentheses were missing #1.
- Heikki Linnakangas proposed always parenthesizing the count expression, explaining that identifying literals safe to print without parentheses was difficult and that XMLEXISTS used the same approach #2.
- Heikki committed the fix as 7ee00918f7, retaining the submitted logic while refining its comment and adding regression coverage, then announced completion #3.
- Tom Lane subsequently reported cross-version upgrade output mismatches on the buildfarm #4, and Michael Paquier supplied a separate patch adding the new regression-test view to the qualifier-adjustment list for PostgreSQL 16 and newer #5.
- Heikki independently committed the identical upgrade-test repair as cbf53e2b8a and explained that he had not seen Michael's patch before committing #6.
- Michael acknowledged the repair and its independent authorship; the thread ended with both fixes committed and no outstanding work identified #7.