Re: [PATCH] Add ALTER SYSTEM RELOAD - Mailing list pgsql-hackers

From Dagfinn Ilmari Mannsåker
Subject Re: [PATCH] Add ALTER SYSTEM RELOAD
Date
Msg-id 87ld8qq464.fsf@wibble.ilmari.org
Whole thread
In response to Re: [PATCH] Add ALTER SYSTEM RELOAD  (Michael Banck <mbanck@gmx.net>)
List pgsql-hackers
Michael Banck <mbanck@gmx.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



pgsql-hackers by date:

Previous
From: Daniel Gustafsson
Date:
Subject: Re: potentially missed pgindent in REL_19_STABLE
Next
From: Amit Langote
Date:
Subject: Re: potentially missed pgindent in REL_19_STABLE