model-writtenrun 2372 - may be wrong, links go to the source messages. Commit-by-commit LLM analysis is in the Commits dialog.
- jian he proposed direct COPY TO support for materialized views in #1, reporting roughly 3.7–4.3% faster exports than COPY of a SELECT query.
- Michael Paquier raised the historical restriction concerning unpopulated materialized views in #2; after investigating earlier objections about COPY direction symmetry, jian he argued that one-direction support was acceptable in #4 and submitted a population-checked implementation in #5.
- Newt Global PostgreSQL Contributors reported successful testing and a 4–5% performance improvement in #6; Kirill Reshke then questioned excluding ordinary views in #7, while jian he explained that the direct scan requires physical storage in #8.
- David G. Johnston supported incremental expansion of COPY TO in #10, while Andrew Dunstan disputed its characterization as only serving pg_dump in #11 and supported materialized-view exports in #17; ordinary-view support and COPY FROM into materialized views remained outside this patch.
- Fujii Masao requested clearer errors, documentation, and regression tests in #18, which jian he incorporated in #19; David G. Johnston subsequently requested explicit wording about populated materialized views in #20.
- Vignesh C demonstrated stale data before refresh and suggested a warning in #21; Kirill Reshke preferred handling that separately in #24, and David G. Johnston argued that existing materialized-view documentation already explained the behavior in #25, so no stale-data warning was added.
- Following Fujii Masao's review in #26, jian he shortened the refresh hint, clarified documentation, and relocated the tests in #27; Fujii then supplied cosmetic refinements and a test covering one materialized view before and after refresh in #28.
- Fujii Masao committed #28 unchanged as 534874fac0, crediting jian he as author, and confirmed completion in #29, leaving psql completion of materialized-view names after COPY as a suggested follow-up.