model-writtenrun 4199 - may be wrong, links go to the source messages. Commit-by-commit LLM analysis is in the Commits dialog.
Jan - Jul 2023 ยท 15 entries
- Pavel Luzanov proposed exposing ADMIN, INHERIT, and SET membership options through \du+/\dg+, while retaining ordinary membership arrays and sorting their contents, in #1.
- David G. Johnston suggested compact option labels and an explicit empty marker in #3, while David Zhang tested the original display and raised system-role test-coverage questions in #5 and #7.
- Pavel demonstrated that multiple grantors could produce confusing duplicate role names in #11; after discussing aggregation, David proposed retaining each grantor in a readable membership string in #14, which Pavel implemented for ordinary and verbose listings in #15.
- Discussion also explored ADMIN support in pg_has_role and prohibiting memberships with no enabled options, but Pavel declined to implement the additional backend work in #23, leaving those ideas outside this patch.
- The revisions from #16 through #26 repaired environment-dependent regression tests, incorporated David's documentation rewrite and older-server compatibility review from #21, and fixed a compiler warning.
- Tom Lane and Robert Haas objected to cryptic abbreviations and discussed translation and output width in #28, #30, and #31; Pavel responded in #40 with full option names, detailed output only under '+', deduplicated ordinary memberships, and multiline verbose attributes.
- Kyotaro Horiguchi explained why the sentence-style grantor notation was difficult to translate into Japanese in #41, exposing a remaining weakness in the revised display.
- When Jonathan S. Katz questioned its release-blocking status, David and Tom argued that displaying the newly committed membership options was necessary feature completion, and Jonathan retained the PostgreSQL 16 open item in #44, #45, and #46.
- David proposed separate membership, options, and grantor columns in #47; Pavel illustrated that layout in #48 and suggested a dedicated catalog-display command in #50.
- After the discussion extended into June, Tom endorsed a separate \drg command with one row per grant and blank output for absent options in #53 and #55, abandoning the sentence-format approach and deferring broader cleanup of \du attributes.
- David explained how older servers' effective INHERIT and SET behavior could be displayed in #61, and Pavel implemented \drg with compatibility handling, help, completion, tests, and deduplicated \du memberships in #63.
- Tom's review in #64 requested removing Member of from \du/\dg entirely, leaving SQL option keywords untranslated, and excluding roles without grants; Pavel incorporated those changes in #66.
- Tom explained that the remaining outer joins preserve evidence of invalid role references in #68, while David clarified pre-16 SET semantics in #69; Pavel then removed redundant pre-16 null checks in #72.
- Alvaro Herrera tested and endorsed the final patch and its PostgreSQL 16 backpatch in #73; Tom committed #72 with light editorial changes as d65ddaca93, with 0a1d2a7df8 representing the same change on REL_16_STABLE.
- Tom announced completion and closure of the open item in #75, and the thread ended with author and release-management thanks in #77 and #78, with no remaining patch submission awaiting review.