model-writtenrun 5497 - may be wrong, links go to the source messages. Commit-by-commit LLM analysis is in the Commits dialog.
- Tom Lane opened the thread by forwarding Jitka Plesníková’s report that Perl 5.36 moved the scalar-context sort warning into a new category, breaking the PL/Perl regression test, and suggested using a different warning-triggering condition #1.
- Dagfinn Ilmari Mannsåker submitted a patch that removes the assignment so sort actually runs in void context, retaining compatibility with older Perl versions, and reported successful testing on Perl 5.36.0 and 5.8.9 #2.
- Tom Lane considered the patch reasonable #3, and Robert Haas agreed while pointing out that the preceding comment still described scalar context #4.
- Tom Lane agreed to correct the comment and proposed back-patching through PostgreSQL 9.2 to preserve PL/Perl testing on unsupported branches #5.
- The fix landed as eb39610f82 from #2 with only the comment corrections added; its commit message records back-patching through 9.2, completing the work discussed in the thread.