From: | Alvaro Herrera <alvherre(at)alvh(dot)no-ip(dot)org> |
---|---|
To: | Magnus Hagander <magnus(at)hagander(dot)net> |
Cc: | Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, Gabriele Bartolini <gabriele(dot)bartolini(at)enterprisedb(dot)com>, Isaac Morland <isaac(dot)morland(at)gmail(dot)com>, pgsql-hackers(at)postgresql(dot)org |
Subject: | Re: Possibility to disable `ALTER SYSTEM` |
Date: | 2023-09-09 15:14:50 |
Message-ID: | 202309091514.fdjfxlr5kjrw@alvherre.pgsql |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | 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)
From | Date | Subject | |
---|---|---|---|
Next Message | Tom Lane | 2023-09-09 19:18:07 | Re: BUG #18097: Immutable expression not allowed in generated at |
Previous Message | Vik Fearing | 2023-09-09 13:32:41 | Re: Row pattern recognition |