Re: Possibility to disable `ALTER SYSTEM`
Joe Conway <mail@joeconway.com>
From: Joe Conway <mail@joeconway.com>
To: Gabriele Bartolini <gabriele.bartolini@enterprisedb.com>,
pgsql-hackers@postgresql.org
Date: 2023-09-07T19:57:22Z
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 9/7/23 15:51, Gabriele Bartolini wrote: > I would like to propose a patch that allows administrators to disable > `ALTER SYSTEM` via either a runt-time option to pass to the Postgres > server process at startup (e.g. `--disable-alter-system=true`, false by > default) or a new GUC (or even both), without changing the current > default method of the server. Without trying to debate the particulars, a huge +1 for the concept of allowing ALTER SYSTEM to be disabled. FWIW I would vote the same for control over COPY PROGRAM. Not coincidentally both concepts were built into set_user: https://github.com/pgaudit/set_user -- Joe Conway PostgreSQL Contributors Team RDS Open Source Databases Amazon Web Services: https://aws.amazon.com