model-writtenrun 9156 - may be wrong, links go to the source messages. Commit-by-commit LLM analysis is in the Commits dialog.
- Ian Lawrence Barwick proposed replacing the longstanding pseudo-materialized-view loop example with a self-contained function using actual materialized views, also correcting RAISE placeholders, in #1.
- Amit Kapila explained that the existing example still demonstrated loops correctly but supported modernization and raised backpatching for documentation consistency in #3.
- After checking older branches, Amit Kapila reposted the patch with a PostgreSQL 9.4 adaptation because that branch constructed SQL strings differently, and requested Ian's check in #4.
- Pavel Stehule questioned direct pg_catalog access but found that information_schema did not expose materialized views in #5; after Amit's follow-up in #6, Pavel reported no remaining concerns in #7.
- Ian accepted the 9.4 adaptation in the thread's final message #8, and Amit subsequently committed the latest submission #4 as 9b3c8f07ff, preserving the original development-branch diff and backpatching through PostgreSQL 9.4.