model-writtenrun 4032 - may be wrong, links go to the source messages. Commit-by-commit LLM analysis is in the Commits dialog.
- Christian Stork reported that recreating a table between procedure invocations left a literal regclass CALL argument referring to the previous table's OID, and supplied a reproducer in #1.
- Christian Stork added that assigning the regclass value to a variable before passing it to CALL avoided the failure #2.
- Tom Lane diagnosed missing tracking of all compiled CallStmt dependencies, including the called procedure itself, and attached a fix that walks transformed input and output expressions #3.
- The thread ends with Tom Lane asking whether dependency collection belongs elsewhere; no subsequent review or testing response appears in the supplied discussion #3.
- The fix subsequently landed with expanded comments and regression tests in fdc7cf73b4 and dc8d72c1c2, which the supplied index identifies as branch versions of the same change from #3; the commit messages explain that an assertion was considered but replaced with a comment because the relevant predicate expects raw parse trees.