Re: Allow placeholders in ALTER ROLE w/o superuser
Michael Paquier <michael@paquier.xyz>
From: Michael Paquier <michael@paquier.xyz>
To: Nathan Bossart <nathandbossart@gmail.com>
Cc: Tom Lane <tgl@sss.pgh.pa.us>, Kyotaro Horiguchi <horikyota.ntt@gmail.com>, steve@supabase.io, pgsql-hackers@postgresql.org
Date: 2022-10-12T05:48:01Z
Lists: pgsql-hackers
On Thu, Jul 21, 2022 at 10:56:41AM -0700, Nathan Bossart wrote: > Couldn't ProcessGUCArray() use set_config_option_ext() with the context > indicated by pg_db_role_setting? Also, instead of using PGC_USERSET in all > the set_config_option() call sites, shouldn't we remove the "context" > argument altogether? I am likely misunderstanding your proposal, but while > I think simplifying set_config_option() is worthwhile, I don't see why it > would preclude storing the context in pg_db_role_setting. This thread has remained idle for a bit more than two months, so I have marked its CF entry as returned with feedback. -- Michael
Commits
Same data as JSON:
GET /api/v1/messages/:b64id/commits
the thread's linked commits as JSON, with link sources.
API reference →
-
Remove extra regress check arguments from test_pg_db_role_setting
- 529da086ba7f 16.0 landed
-
meson: Add 'running' test setup, as a replacement for installcheck
- afdd9f7f0e00 16.0 landed
-
Add USER SET parameter values for pg_db_role_setting
- 096dd80f3ccc 16.0 landed
-
Fix sloppy cleanup of roles in privileges.sql.
- b62303794efd 16.0 cited
-
Drop test user when done with it.
- f31111bbe81d 12.0 cited
-
GRANT rights to CURRENT_USER instead of adding roles
- 6928484bda45 9.6.0 cited
-
Clean up roles from roleattributes test
- 072710dff3ee 9.6.0 cited
-
Make repeated 'make installcheck' runs work
- b22b77068380 9.5.0 cited