Re: Possibility to disable `ALTER SYSTEM`
Maciek Sakrejda <m.sakrejda@gmail.com>
From: Maciek Sakrejda <m.sakrejda@gmail.com>
To: Robert Haas <robertmhaas@gmail.com>
Cc: Isaac Morland <isaac.morland@gmail.com>,
Greg Sabino Mullane <htamfids@gmail.com>, Jelte Fennema-Nio <postgres@jeltef.nl>, Andrew Dunstan <andrew@dunslane.net>,
Tom Lane <tgl@sss.pgh.pa.us>, Bruce Momjian <bruce@momjian.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>
Date: 2024-03-27T19:10:02Z
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 Wed, Mar 27, 2024, 11:46 Robert Haas <robertmhaas@gmail.com> wrote: > On Wed, Mar 27, 2024 at 1:12 PM Isaac Morland <isaac.morland@gmail.com> > wrote: > > On Wed, 27 Mar 2024 at 13:05, Greg Sabino Mullane <htamfids@gmail.com> > wrote: > >>> The purpose of the setting is to prevent > <emphasis>accidental</emphasis> modifications via <literal>ALTER > SYSTEM</literal> in environments where > >> The emphasis on 'accidental' seems a bit heavy here, and odd. Surely, > just "to prevent modifications via ALTER SYSTEM in environments where..." > is enough? > > Not necessarily disagreeing, but it's very important nobody ever mistake > this for a security feature. I don't know if the extra word "accidental" is > necessary, but I think that's the motivation. > > I think the emphasis is entirely warranted in this case. +1. And while "non-malicious" may technically be more correct, I don't think it's any clearer. >