Re: pgsql: Add allow_alter_system GUC.

Поиск
Список
Период
Сортировка
От Robert Haas
Тема Re: pgsql: Add allow_alter_system GUC.
Дата
Msg-id CA+TgmoY5wCRbepSpBDt74tibXM0e8u+vW3Ugzx3T3CWg0M_HUg@mail.gmail.com
обсуждение исходный текст
Ответ на pgsql: Add allow_alter_system GUC.  (Robert Haas <rhaas@postgresql.org>)
Ответы Re: pgsql: Add allow_alter_system GUC.  (Jelte Fennema-Nio <postgres@jeltef.nl>)
Re: pgsql: Add allow_alter_system GUC.  (Bruce Momjian <bruce@momjian.us>)
Re: pgsql: Add allow_alter_system GUC.  (Bruce Momjian <bruce@momjian.us>)
Список pgsql-committers
Oh no! Jelte, I'm so sorry ... I spelled your name wrong in this
commit message. :-(

Please accept my apologies.

...Robert

On Fri, Mar 29, 2024 at 8:45 AM Robert Haas <rhaas@postgresql.org> wrote:
>
> Add allow_alter_system GUC.
>
> This is marked PGC_SIGHUP, so it can only be set in a configuration
> file, not anywhere else; and it is also marked GUC_DISALLOW_IN_AUTO_FILE,
> so it can't be set using ALTER SYSTEM. When set to false, the
> ALTER SYSTEM command is disallowed.
>
> There was considerable concern that this would be misinterpreted as
> a security feature, which it is not, because a determined superuser
> has various ways of bypassing it. Hence, a lot of work has gone into
> wordsmithing the documentation, in the hopes of avoiding any such
> confusion.
>
> Jelte Fennemia-Nio and Gabriele Bartolini, with wording suggestions
> for the documentation from many others.
>
> Discussion: http://postgr.es/m/CA%2BVUV5rEKt2%2BCdC_KUaPoihMu%2Bi5ChT4WVNTr4CD5-xXZUfuQw%40mail.gmail.com
>
> Branch
> ------
> master
>
> Details
> -------
> https://git.postgresql.org/pg/commitdiff/d3ae2a24f265a028f4b9e8df79ea7b075c6cf016
>
> Modified Files
> --------------
> doc/src/sgml/config.sgml                      | 51 ++++++++++++++++++++++++++-
> doc/src/sgml/ref/alter_system.sgml            |  8 +++++
> src/backend/utils/misc/guc.c                  |  5 +++
> src/backend/utils/misc/guc_tables.c           | 17 +++++++++
> src/backend/utils/misc/postgresql.conf.sample |  1 +
> src/include/utils/guc.h                       |  1 +
> 6 files changed, 82 insertions(+), 1 deletion(-)
>


--
Robert Haas
EDB: http://www.enterprisedb.com



В списке pgsql-committers по дате отправления:

Предыдущее
От: Robert Haas
Дата:
Сообщение: pgsql: Add allow_alter_system GUC.
Следующее
От: Jelte Fennema-Nio
Дата:
Сообщение: Re: pgsql: Add allow_alter_system GUC.