model-writtenrun 2671 - may be wrong, links go to the source messages. Commit-by-commit LLM analysis is in the Commits dialog.
- Yugo Nagata reported that older releases allowed materialized views over transient named relations that could neither be refreshed nor deparsed, and proposed suppressing their execution environment in #1; Kirill Reshke endorsed the fix and recommended backpatching in #2.
- Tom Lane tested related cases and argued that an internal executor error was insufficient in #3, prompting Yugo to replace the workaround with an explicit parser check in #4 while asking how broadly such checks should apply.
- Michael Paquier requested regression tests in #5, and Tom argued in #6 that persistent references to transient relations should be rejected during dependency extraction, avoiding another query scan and using terminology familiar to SQL users.
- Yugo implemented dependency checks and added a trigger regression test in #8; Tom then supplied an edited version in #9 that identified the transition table, described the prohibited depender as a persistent object, and improved the comments and tests.
- Tom questioned the duplicate check during Var processing in #9, and Yugo agreed it was unnecessary and removed it in #10.
- Tom committed #10 unchanged as 3c49d462db and confirmed completion in #11; the commit deliberately limited the fix to master because this obscure longstanding case had no end-user reports.