Jan 2023

5 commits
Add new GUC createrole_self_grant.
10 Jan 2023Robert Haasmaster16beta1REL_19_STABLE16beta1REL_18_STABLE16beta1REL_17_STABLE16beta1REL_16_STABLE16beta1
LLM analysis, 100% surelanded as postedfrom patchset #580 of 5 reviewers saw the final version

The complete createrole_self_grant patch in #58 matches the commit after removing diff metadata, including configuration documentation, GUC hooks, and regression tests.

  • Mark Dilgersaw an earlier versionLLM analysis, 97% sureMark criticized the new role attributes in #10 and questioned their implicit behavior in #12, before #54 replaced them with a GUC and a separate grant.
  • Tom Lanesaw an earlier versionLLM analysis, 99% sureTom argued in #26 that these defaults should not be role-property bits, feedback Robert explicitly acknowledged when presenting the redesigned result in #58.
  • David G. Johnstonsaw an earlier versionLLM analysis, 99% sureDavid proposed a separate creator-issued membership grant in #46 and supported GUC configuration in #52, which Robert explicitly adopted in #54.
  • Wolfgang Walthersaw an earlier versionLLM analysis, 97% sureWolfgang explained in #38 why optional SET and INHERIT rights should use a separate revocable grant instead of the bootstrap superuser's grant, a distinction implemented in #54.
  • Joe Conwaysaw an earlier versionLLM analysis, 77% sureJoe reported a favorable quick inspection of the initial proposal in #9, before its configurable self-grant mechanism was substantially redesigned in #54.
Restrict the privileges of CREATEROLE users.
10 Jan 2023Robert Haasmaster16beta1REL_19_STABLE16beta1REL_18_STABLE16beta1REL_17_STABLE16beta1REL_16_STABLE16beta1
LLM analysis, 100% surelanded as postedfrom patchset #580 of 3 reviewers saw the final version

The complete restriction patch in #58 matches the commit's normalized diff across all 15 files, including user.c authorization checks, objectaddress.c, documentation, and both test suites.

  • Mark Dilgersaw an earlier versionLLM analysis, 99% sureMark endorsed the restriction patch in #10 and is credited in the commit message, but the subsequent revision corrected authorization logic in objectaddress.c and added documentation and tests.
  • David G. Johnstonsaw an earlier versionLLM analysis, 97% sureDavid explicitly endorsed the first three patches as ready to commit on behavioral grounds in #46, before #54 corrected the ownership-check arguments and expanded documentation and tests.
  • Joe Conwaysaw an earlier versionLLM analysis, 88% sureJoe approved the proposed direction after a quick inspection in #9, before the authorization correction and additional coverage introduced in #54.
Pass down current user ID to AddRoleMems and DelRoleMems.
5 Jan 2023Robert Haasmaster16beta1REL_19_STABLE16beta1REL_18_STABLE16beta1REL_17_STABLE16beta1REL_16_STABLE16beta1
LLM analysis, 100% suremodified before commitlight changesfrom patchset #572 of 2 reviewers saw the final version

The src/backend/commands/user.c diff exactly matches the current-user-ID refactor in #57. Only the commit explanation was expanded to discuss GetUserId() calls and preparation for later work, as announced in #58.

  • Mark Dilgersaw the final versionLLM analysis, 100% sureMark described both initial refactors as uncontroversial in #10 and is credited in the commit message; this refactor subsequently changed only in commit-message wording.
  • David G. Johnstonsaw the final versionLLM analysis, 94% sureDavid explicitly endorsed the first three patches as ready to commit on behavioral grounds in #46, and this refactor retained its implementation through landing.
Refactor permissions-checking for role grants.
5 Jan 2023Robert Haasmaster16beta1REL_19_STABLE16beta1REL_18_STABLE16beta1REL_17_STABLE16beta1REL_16_STABLE16beta1
LLM analysis, 100% suremodified before commitlight changesfrom patchset #572 of 2 reviewers saw the final version

The permission-checking refactor's src/backend/commands/user.c diff matches #57 exactly. The commit message clarifies why empty membership lists require no permission check and states the absence of intended user-visible changes, consistent with #58.

  • Mark Dilgersaw the final versionLLM analysis, 100% sureMark described both initial refactors as uncontroversial in #10 and is credited in the commit message; the implementation remained unchanged through landing.
  • David G. Johnstonsaw the final versionLLM analysis, 94% sureDavid explicitly endorsed the first three patches as ready to commit on behavioral grounds in #46, after which this refactor received only commit-message edits.
Improve documentation of the CREATEROLE attibute.
3 Jan 2023Robert Haasmaster16beta1REL_19_STABLE16beta1REL_18_STABLE16beta1REL_17_STABLE16beta1REL_16_STABLE16beta1REL_15_STABLE15.2REL_14_STABLE14.7REL_13_STABLE13.10+2 more
LLM analysis, 100% suremodified before commitlight changesfrom patchset #541 of 1 reviewer saw the final version

The standalone documentation patch from #54 landed with the missing verb 'modify' restored and two command ellipses changed to three dots in doc/src/sgml/user-manag.sgml. These are precisely the corrections requested in #55 and confirmed committed and back-patched in #57.

  • Álvaro Herrerasaw the final versionLLM analysis, 100% sureÁlvaro identified the missing verb and inconsistent ellipses, approved the remaining documentation, and supported back-patching in #55; the commit incorporates those corrections and credits his review.

Credits across 5 commits

Author
Robert HaasLLM5
Committer
Robert Haas5

N LLM means N of the credits come from LLM analysis, not from commit trailers.