model-writtenrun 5949 - may be wrong, links go to the source messages. Commit-by-commit LLM analysis is in the Commits dialog.
- Bharath Rupireddy proposed functions to monitor current snapshot, mapping, and replication-slot file sizes in #1; after Amit Kapila suggested existing facilities in #2, Bharath explained that pg_ls_dir omits sizes and spill_bytes measures cumulative activity rather than current disk usage in #3.
- Justin Pryzby advocated a generic directory-metadata function in #4, while Bharath favored specialized functions for usability in #5 and submitted pg_ls_logicalsnapdir, pg_ls_logicalmapdir, and pg_ls_replslotdir with pg_monitor access in #6.
- Nathan Bossart demonstrated that the initial slot-directory function accepted directory traversal in #7, and Justin identified truncation concerns while recognizing the value of narrowly grantable permissions in #8; Justin also proposed waiting for his broader directory-listing changes, but those changes were not incorporated into this series.
- Bharath added slot-existence validation and corrected buffer sizing in #9, preventing arbitrary paths from reaching the directory listing, and Nathan declared the revised patch ready for a committer in #10.
- Michael Paquier requested regression coverage, documentation markup, and formatting cleanup in #11; Bharath supplied those changes in #12, placing both permission checks and slot-dependent tests in the main regression suite.
- Michael committed #12 as 1922d7c6e1 with light edits, moving slot-dependent tests into contrib/test_decoding to avoid requiring replication slots in the main regression suite, correcting catalog OIDs and descriptions, and polishing documentation; his final message #13 confirmed that all three functions had landed.