Re: Possibility to disable `ALTER SYSTEM`
Bruce Momjian <bruce@momjian.us>
From: Bruce Momjian <bruce@momjian.us>
To: Robert Haas <robertmhaas@gmail.com>
Cc: Jelte Fennema-Nio <postgres@jeltef.nl>, Andrew Dunstan <andrew@dunslane.net>, Tom Lane <tgl@sss.pgh.pa.us>, Heikki Linnakangas <hlinnaka@iki.fi>, PostgreSQL Hackers <pgsql-hackers@postgresql.org>, Daniel Gustafsson <daniel@yesql.se>, Joel Jacobson <joel@compiler.org>, Gabriele Bartolini <gabriele.bartolini@enterprisedb.com>, Magnus Hagander <magnus.hagander@redpill-linpro.com>, Maciek Sakrejda <m.sakrejda@gmail.com>
Date: 2024-03-28T17:45:54Z
Lists: pgsql-hackers
Commits
Same data as JSON:
GET /api/v1/messages/:b64id/commits
the thread's linked commits as JSON, with link sources.
API reference →
-
Add allow_alter_system GUC.
- d3ae2a24f265 17.0 landed
-
Rename COMPAT_OPTIONS_CLIENT to COMPAT_OPTIONS_OTHER.
- de7e96bd0fc6 17.0 landed
-
Remove support for version-0 calling conventions.
- 5ded4bd21403 10.0 cited
On Thu, Mar 28, 2024 at 08:38:24AM -0400, Robert Haas wrote: > Let's please, please stop pretending like this patch is somehow > deserving of special scrutiny. There's barely even anything to > scrutinize. It's literally if (!variable) ereport(...) plus some > boilerplate and docs. I entirely agree that, because of the risk of > someone filing a bogus CVE, the docs do need to be carefully worded. > But, I'm going to be honest: I feel completely confident in my ability > to review a patch well enough to know whether the documentation for a > single test-and-ereport has been done up to project standard. It > saddens and frustrates me that you don't seem to agree. The concern about this patch is not its contents but because it is our first attempt at putting limits on the superuser for an external tool. If done improperly, this could open a flood of problems, including CVE and user confusion, which would reflect badly on the project. I think the email discussion has expressed those concerns clearly, and it is only recently that we have gotten to a stage where we are ready to add this, and doing this near the closing of the last commitfest can be a valid concern. I do agree with your analysis of other patches in the commitfest, but I just don't see them stretching our boundaries like this patch. -- Bruce Momjian <bruce@momjian.us> https://momjian.us EDB https://enterprisedb.com Only you can decide what is important to you.