model-writtenrun 7238 - may be wrong, links go to the source messages. Commit-by-commit LLM analysis is in the Commits dialog.
- Nathan Bossart proposed adding \dpS and documenting system-object visibility because \dp lacked the S modifier supported by other psql commands #1.
- Pavel Luzanov supported the patch because newly grantable maintenance privileges made catalog permissions worth inspecting, and raised related VACUUM FULL and CLUSTER documentation questions; Nathan moved the documentation work to another thread #2 #3.
- Justin Pryzby suggested separating VACUUM FULL privileges and grouping them with CLUSTER, while Nathan described plans for separate CLUSTER, REFRESH MATERIALIZED VIEW, and REINDEX privileges #4 #5.
- Tom Lane proposed a generic maintenance privilege, and Isaac Morland advocated the MAINTAIN name and grouping VACUUM, ANALYZE, REFRESH, CLUSTER, and REINDEX; Tom emphasized useful privilege boundaries rather than merely available ACL bits #6 #8 #11.
- Pavel explored extending maintenance permissions to statistics and storage changes, but Alvaro Herrera argued those operations should remain tied to ownership because they were not recurring maintenance tasks #12 #13.
- Nathan initially defended individually grantable privileges and announced a separate implementation thread, but accepted the unified MAINTAIN approach after Michael Paquier also supported consolidation #14 #15 #16 #17.
- Andrew Dunstan returned attention to the original psql proposal and judged it reasonable for the next commitfest #19.
- Jeff Davis committed Nathan's unified MAINTAIN privilege and pg_maintain role on December 14, covering VACUUM, ANALYZE, REINDEX, REFRESH MATERIALIZED VIEW, CLUSTER, and LOCK TABLE; although this thread contributed the design, the implementation came from #522542 in thread #47072, with moderate committer edits including LOCK TABLE support 60684dd834.
- Maxim Orlov tested the original psql patch and confirmed that \dpS displayed system objects after applying it #21.
- Dean Rasheed revised Nathan's patch to support the equivalent \zS command and align schema filtering with other psql commands, including temporary relations by default while excluding pg_catalog and information_schema unless requested #23.
- Nathan accepted Dean's changes, and Dean committed the revised patch unchanged, explaining that consistent \dp and \dt behavior outweighed the old exclusion of temporary tables; Nathan subsequently agreed #24 #25 #26 d913928c9c.
- During PostgreSQL 16 Beta 1 testing, Noriyoshi Shinoda found that \? still omitted the new modifiers and supplied a two-line help-text correction, which Nathan committed unchanged; the thread ends with that fix landed and no attached work outstanding #27 #28 dda9f8e7bc.