model-writtenrun 5492 - may be wrong, links go to the source messages. Commit-by-commit LLM analysis is in the Commits dialog.
- Alastair McKinley reported that psql 15beta1 delayed a function's notice until execution completed, whereas psql 14.3 displayed it before the function's sleep #1; Tom Lane confirmed a client-side regression and marked it as an open issue #2, while Adrian Klaver confirmed that disabling SHOW_ALL_RESULTS did not restore the old behavior #6.
- Fabien COELHO traced the delay to buffering intended to keep notices beside their statement results and proposed removing that buffering, accepting that a later statement's notice could precede an earlier statement's output #11.
- Fabien tried fetching the next result early only when the display mode required identifying the last result, but concluded that this could not preserve notice order because the server could send notices before psql extracted their associated result #12.
- Fabien ultimately recommended the original buffering removal with updated expected output, while also supplying a more complex alternative that selectively buffered notices; he explained that last-result-dependent commands prevented guaranteeing both immediate notices and ordered output in every case #13.
- Peter Eisentraut endorsed the simple solution and questioned test stability #14; Fabien recommended retaining the tests unless buildfarm results demonstrated instability #15.
- Peter committed the recommended simple alternative from #13 unchanged as e77de23fbb and confirmed completion in #16, restoring immediate notices while leaving the more complex ordering alternative unadopted and test stability to buildfarm observation.