May 2023

1 commit
Revert "Add USER SET parameter values for pg_db_role_setting"
17 May 2023Alexander Korotkovmaster16beta1REL_19_STABLE16beta1REL_18_STABLE16beta1REL_17_STABLE16beta1REL_16_STABLE16beta1reverts 1 commit here
LLM analysis, 100% surewritten from the discussion, no matching patch3 of 3 reviewers saw the final version

Tom Lane recommended reverting USER SET in #24, Nathan Bossart and Jonathan S. Katz supported that approach in #25 and #26, and Alexander Korotkov announced the revert in #27. The commit removes the feature introduced by 096dd80f3c and its fixups, including db93e739ac, removing pg_db_role_setting.setuser and bumping the catalog version.

  • Tom Lanesaw the final versionLLM analysis, 100% sureIdentified privilege-tracking design problems in #12 and explicitly recommended the adopted revert in #24.
  • Nathan Bossartsaw the final versionLLM analysis, 98% sureQuestioned the new syntax in #14 and endorsed reverting the feature to pursue another approach in #25.
  • Jonathan S. Katzsaw the final versionLLM analysis, 95% sureRecommended the adopted revert before Beta 1 because the design and security concerns remained unresolved in #26.

Apr 2023

1 commit
Fix wrong construct_array_builtin() call in GUCArrayDelete()
27 Apr 2023Alexander Korotkovmaster16beta1REL_19_STABLE16beta1REL_18_STABLE16beta1REL_17_STABLE16beta1REL_16_STABLE16beta1
LLM analysis, 100% surewritten from the discussion, no matching patch3 of 3 reviewers saw the final version

Nathan Bossart supplied the inline fix in #6, replacing &d with &userSetDatum in GUCArrayDelete()'s BOOLOID construct_array_builtin() call in src/backend/utils/misc/guc.c; the committed change differs only in line wrapping. This fixes a regression introduced by 096dd80f3c, and Alexander Korotkov confirmed the push in #11.

  • David Steelesaw the final versiontrailerTested Nathan Bossart's inline fix and confirmed that the permission errors disappeared in #7.
  • Tom Lanesaw the final versiontrailerInvestigated the reproduction in #4 and independently traced the failure to corrupted USER SET flags during ALTER ROLE RESET in #12, posted shortly after the commit, whose message credits him as a reviewer.
  • Alexander Korotkovsaw the final versioncommittercommitted the patch

Credits across 2 commits

Author
Nathan Bossart1
Reviewer
Alexander Korotkovcommitter1
David Steele1
Tom Lane1
Reported by
David Steele1
Committer
Alexander Korotkov2