model-writtenrun 7400 - may be wrong, links go to the source messages. Commit-by-commit LLM analysis is in the Commits dialog.
Aug 2020 - Jan 2021 · 17 entries
- Tatsuro Yamada proposed a psql command to list extended statistics in #1, initially naming it \dz and showing the table, columns, and enabled statistics kinds.
- Julien Rouhaud caught an incorrect server-version threshold and suggested \dX in #3; Tatsuro added pattern matching, documentation, and tests in #4, adopted \dX in #5, and fixed Julien's sorting and indentation findings in #7.
- Alvaro Herrera argued for a combined Definition column that could accommodate future cross-table statistics and for distinguishing enabled statistics from collected statistics, providing a concrete query in #10.
- Tomas Vondra proposed size reporting in #12, and discussion with Alvaro Herrera and Tom Lane favored separate verbose columns; Tatsuro implemented the Definition column, collection statuses, and \dX+ sizes in #19.
- Justin Pryzby and Tom Lane questioned the usefulness of sizes in #20 and #22, while Alvaro and Tomas explored one row per statistics kind; Tatsuro argued for retaining one column per kind in #28, and that layout survived.
- After a review gap and a rebase request, Tatsuro resumed development in #31 with defined terminology and revised size handling; Tomas advocated keeping sizes with readable units in #34, leading to pg_size_pretty output in #37 and tab completion in #38.
- Tomas found that the new psql regression tests could collide with parallel stats_ext tests and supplied safer object names in #39; Tatsuro incorporated those names and moved the tests into stats_ext.sql in #40.
- Tatsuro supplied an alternative test arrangement interleaved with existing statistics tests in #41; Tomas repaired its command typos and missing expected output in #42 but preferred the compact test block, so Tatsuro dropped the alternative and clarified column names in #43.
- Following the rebases in #44 and #45, Tomas noticed that the query would fail against PostgreSQL 10 and 11 in #46; Alvaro confirmed older-server compatibility was required in #49, and Tatsuro added version-specific catalog and MCV handling in #51.
- Tomas consolidated the patches, cleaned up version branching, and proposed requested instead of defined in #53; Tatsuro qualified the pattern-filter column in #54 and documented the statuses in #57.
- Julien reviewed the final first-round patch and questioned whether requested implied a scheduled ANALYZE in #58, but Tomas retained that wording and committed #57 unchanged as 891a1d0bca, announcing it in #60.
- Noriyoshi Shinoda tested the committed command as an ordinary user and reported permission denied on pg_statistic_ext_data in #61; Tomas reversed the feature in 1db0d173a2 and announced the revert in #63.
- Tomas outlined several remedies in #63, preferring a command based only on pg_statistic_ext because new views or functions would not work against older servers; Justin also supplied documentation corrections in #64, which Tatsuro accepted in #68.
- After Tatsuro explored pg_stats_ext, Tomas clarified in #69 that its privilege filtering and formatted values made it unsuitable for the intended listing and size reporting; they agreed to omit collected status and sizes, leaving richer information for future work.
- Tatsuro posted the simplified catalog-only implementation in #72, then added schema-qualified filtering and non-superuser regression coverage in #74, reporting successful tests against PostgreSQL 10, 11, 12, and 14.
- Tomas committed #74 as ad600bba04 with small documentation/comment changes and tests using SET/RESET ROLE and a regress_ role name, explaining the test changes in #75.
- Tatsuro thanked the reviewers and requested that Justin receive reviewer credit for his documentation contributions in #76, although the supplied commit's reviewer list does not include Justin.
May - Jul 2021 · 3 entries
- In #77, Justin discovered that \dX listed statistics outside search_path and supplied an inline pg_statistics_obj_is_visible fix; Tomas added regression coverage and posted the complete patch in #79.
- Tatsuro tested the visibility fix on PostgreSQL 14 beta 2 and 15 development, reporting all 209 tests passing in #80; Tomas committed #79 unchanged as f68b609230 and confirmed its PostgreSQL 14 backport in #81.
- The thread ends with Tatsuro's acknowledgement in #82: the simplified statistics-listing command and visibility fix have landed, while collection-status and size reporting remain omitted.