| From: | Dagfinn Ilmari Mannsåker <ilmari(at)ilmari(dot)org> |
|---|---|
| To: | Michael Banck <mbanck(at)gmx(dot)net> |
| Cc: | Chao Li <li(dot)evan(dot)chao(at)gmail(dot)com>, Yuhang Qiu <iamqyh(at)gmail(dot)com>, PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org> |
| Subject: | Re: [PATCH] Add ALTER SYSTEM RELOAD |
| Date: | 2026-09-24 11:28:35 |
| Message-ID: | 87ld8qq464.fsf@wibble.ilmari.org |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-hackers |
Michael Banck <mbanck(at)gmx(dot)net> writes:
> Hi,
>
> On Thu, Sep 24, 2026 at 03:39:22PM +0800, Chao Li wrote:
>> Is there a reason ALTER SYSTEM RELOAD needs stronger privileges than
>> pg_reload_conf()?
>
> Well, it is clear that you won't be able to GRANT this on a SQL-level.
>
> But what could be done is add the pg_maintain (or something similar)
> default role as an allowed user for running this command besides
> Superuser.
There's already GRANT ALTER SYSTEM ON PARAMETER, it would be natural to
extend that with GRANT ALTER SYSTEM RELOAD and whatver other operations
we decide to add.
> Michael
- ilmari
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Amit Langote | 2026-09-24 11:30:50 | Re: potentially missed pgindent in REL_19_STABLE |
| Previous Message | Daniel Gustafsson | 2026-09-24 11:28:18 | Re: potentially missed pgindent in REL_19_STABLE |