model-writtenrun 4847 - may be wrong, links go to the source messages. Commit-by-commit LLM analysis is in the Commits dialog.
- Steve Chavez proposed allowing non-superusers to persist placeholder settings with ALTER ROLE, supporting application metadata and row-level security, by removing the placeholder-specific permission check in #1.
- Nathan Bossart challenged the safety of removing that check in #2 and demonstrated in #3 that an unprivileged placeholder value could become a privileged plperl setting when the extension loaded.
- Steve suggested treating all stored placeholders as USERSET in #4, but Nathan explained in #5 that this would break legitimate privileged defaults, while Kyotaro Horiguchi demonstrated the existing GRANT SET ON PARAMETER alternative in #6.
- Tom Lane proposed storing the setting role's OID and checking its privileges when applying the value in #7; Nathan questioned the effects of later privilege changes and role deletion in #8, preferring permissions captured when the setting was made.
- After the submission was returned with feedback during inactivity in #9, Alexander Korotkov revived it in #10 and proposed an explicit user-visible flag in #13 to avoid role dependencies and retroactive effects of privilege revocation.
- Alexander implemented USER SET syntax with a '(u)' storage suffix in #15, and Steve tested it successfully and confirmed that ordinary placeholder assignments still required elevated permission in #17.
- Alexander added documentation and context handling in #18, then introduced a dedicated test module and prevented USER SET values from inheriting elevated current-user privileges in #19.
- Pavel Borisov repaired test naming and documentation in #20 and #21; Alexander added completion and overwrite-permission tests in #22, and Pavel restored the corresponding expected results in #23.
- Alvaro Herrera questioned encoding permissions in parameter strings in #24, and Tom recommended a separate catalog field in #25; Alexander consequently replaced the suffix with a parallel boolean setuser array and updated GUC processing, dumps, and psql in #27.
- Pavel reviewed and tested the redesigned patch and corrected two GUCArrayReset() lines in #28, after which Alexander made only documentation and comment adjustments in #29.
- Alexander committed #29 as 096dd80f3c, adding the catalog-version bump, and announced the landing in #30.
- Pavel reported buildfarm failures caused by test roles lacking the regress_ prefix and supplied #31, then withdrew the need for that attachment after noticing Alexander had already committed a corresponding fix in #32.
- Justin Pryzby reported repeated Meson running-test failures in #34 and supplied a reproduction in #36; Tom agreed in #37 that the test should be excluded from existing installations because it leaves roles and configuration entries behind.
- Justin identified the missing Meson runningcheck exclusion in #38, and Pavel supplied that one-line fix in #39.
- Justin also requested removing copied locale and encoding arguments in #41; Alexander incorporated the Meson cleanup in #42, and Justin clarified in #46 that the Makefile needed the same cleanup.
- Pavel submitted the combined exclusion and cleanup in #47, while Alexander independently supplied equivalent changes split into two patches in #48.
- Alexander committed both patches from #48 unchanged as afdd9f7f0e and 529da086ba, then confirmed in the final message #49 that his split version had landed.