Re: Possibility to disable `ALTER SYSTEM`

Поиск
Список
Период
Сортировка
От Alvaro Herrera
Тема Re: Possibility to disable `ALTER SYSTEM`
Дата
Msg-id 202309091514.fdjfxlr5kjrw@alvherre.pgsql
обсуждение исходный текст
Ответ на Re: Possibility to disable `ALTER SYSTEM`  (Magnus Hagander <magnus@hagander.net>)
Ответы Re: Possibility to disable `ALTER SYSTEM`  (Magnus Hagander <magnus@hagander.net>)
Список pgsql-hackers
On 2023-Sep-08, Magnus Hagander wrote:

> Now, it might be that you don't care at all about the *security* side
> of the feature, and only care about the convenience side. But in that
> case, the original suggestion from Tom of using an even trigger seems
> like a fine enough solution?

ALTER SYSTEM, like all system-wide commands, does not trigger event
triggers.  These are per-database only.

https://www.postgresql.org/docs/16/event-trigger-matrix.html

-- 
Álvaro Herrera               48°01'N 7°57'E  —  https://www.EnterpriseDB.com/
"If it is not right, do not do it.
If it is not true, do not say it." (Marcus Aurelius, Meditations)



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

Предыдущее
От: Vik Fearing
Дата:
Сообщение: Re: Row pattern recognition
Следующее
От: Tom Lane
Дата:
Сообщение: Re: BUG #18097: Immutable expression not allowed in generated at