model-writtenrun 8602 - may be wrong, links go to the source messages. Commit-by-commit LLM analysis is in the Commits dialog.
- Pascal Legrand reported that CREATE TABLE AS left pg_stat_statements.rows at zero and proposed counting CMDTAG_SELECT completions inline in #1, then identified the same issue with CREATE MATERIALIZED VIEW in #2.
- Fujii Masao asked whether all CMDTAG_SELECT utility commands should count rows and raised FETCH and MOVE in #3; Pascal confirmed additional cursor-related gaps, including an implicit-cursor example, in #4.
- Fujii Masao identified SELECT INTO as another CMDTAG_SELECT command and posted #5, adding row counting for CREATE TABLE AS, SELECT INTO, CREATE MATERIALIZED VIEW, and FETCH with regression tests; MOVE and the implicit-cursor issue were outside the submitted patch.
- Fujii proposed treating the change as a PostgreSQL 14 feature in #5; Pascal requested consideration for PostgreSQL 13 in #6, but Fujii maintained that it expanded capabilities rather than corrected documented behavior in #7.
- Asif Rehman reported successful installation regression tests and feature testing, confirming that the patch applied cleanly and worked as expected in #8.
- Fujii committed #5 unchanged apart from rebasing as 6023b7ea71 and announced the push in #9, completing the submitted work without further resolution of the broader cursor questions.