model-writtenrun 6194 - may be wrong, links go to the source messages. Commit-by-commit LLM analysis is in the Commits dialog.
- Alexander Lakhin reported an assertion failure in PostgreSQL 14beta3 when invoking a new-style set-returning SQL function, initially associating it with identically named tables in two schemas #1.
- Alexander Lakhin simplified the reproduction and established that a duplicate table was unnecessary, although his example still changed search_path #2.
- Tom Lane identified missing AcquireRewriteLocks during inlining as the underlying problem, independent of search_path, and posted a patch that also added locking to function validation and deparsing, applied rewriting during validation, and made regression tests reference a table #3.
- Alexander Lakhin tested the patch and confirmed that it fixed the failure #4.
- Tom Lane committed the patch unchanged as 589be6f6c7 and announced that it was pushed, leaving no outstanding work in the thread #5.