pg.ddx.io  pgsql-hackers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Dagfinn Ilmari Mannsåker <ilmari@ilmari.org>
To: Michael Banck <mbanck@gmx.net>
Cc: Chao Li <li.evan.chao@gmail.com>
Cc: Yuhang Qiu <iamqyh@gmail.com>
Cc: PostgreSQL-development <pgsql-hackers@postgresql.org>
Subject: Re: [PATCH] Add ALTER SYSTEM RELOAD
Date: Thu, 24 Sep 2026 12:28:35 +0100
Message-ID: <87ld8qq464.fsf@wibble.ilmari.org> (raw)
In-Reply-To: <20260924093522.GA19443@p46.dedyn.io;lightning.p46.dedyn.io>
References: <5A1F1E3B-D22F-487B-9480-D3DDB5F0C2A1@gmail.com>
	<B254502B-2BF5-4A17-BA04-1E4AA6D878B3@gmail.com>
	<20260924093522.GA19443@p46.dedyn.io;lightning.p46.dedyn.io>

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





view thread (11+ messages)  latest in thread

Message-ID: <87ld8qq464.fsf@wibble.ilmari.org>
Permalink:  ../87ld8qq464.fsf@wibble.ilmari.org/
Also on:    postgresql.org/message-id/87ld8qq464.fsf@wibble.ilmari.org

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-hackers@postgresql.org
  Cc: ilmari@ilmari.org, mbanck@gmx.net, li.evan.chao@gmail.com, iamqyh@gmail.com
  Subject: Re: [PATCH] Add ALTER SYSTEM RELOAD
  In-Reply-To: <87ld8qq464.fsf@wibble.ilmari.org>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox