Re: BUG #18964: `ALTER DATABASE ... RESET ...` fails to reset extension parameters that no longer exist
Nathan Bossart <nathandbossart@gmail.com>
From: Nathan Bossart <nathandbossart@gmail.com>
To: Laurenz Albe <laurenz.albe@cybertec.at>
Cc: Tom Lane <tgl@sss.pgh.pa.us>, mert@futo.org, pgsql-bugs@lists.postgresql.org
Date: 2025-07-25T14:15:17Z
Lists: pgsql-bugs
Commits
Same data as JSON:
GET /api/v1/messages/:b64id/commits
the thread's linked commits as JSON, with link sources.
API reference →
-
Allow resetting unknown custom GUCs with reserved prefixes.
- f79ca73d75cb 15.14 landed
- b998ce3272ab 16.10 landed
- 9eb6068fb64c 19 (unreleased) landed
- 7b9674a8b180 18.0 landed
- 39ff056365e4 17.6 landed
-
Allow ALTER SYSTEM to set unrecognized custom GUCs.
- 2d870b4aeff1 17.0 cited
-
Disallow setting bogus GUCs within an extension's reserved namespace.
- 88103567cb8f 15.0 cited
Attachments
On Thu, Jul 24, 2025 at 11:06:57PM +0200, Laurenz Albe wrote: > On Thu, 2025-07-24 at 11:30 -0500, Nathan Bossart wrote: >> +ALTER ROLE regress_ae_role IN DATABASE :datname RESET auto_explain.bogus; > > That is perhaps a rediculous quibble, but shouldn't that be :"datname"? > I guess the regression test database will always have a proper name... You're right, it probably should be quoted. > Anyway, I'll mark the patch as "ready for committer". Thanks. I'd like to get this fixed in the August releases, so I'm planning to commit this sometime late next week, barring additional feedback or objections. -- nathan