> On 24 Sep 2026, at 13:38, Chao Li <[email protected]> wrote:

> Yeah, that could be a solution. But the current patch only allows super user:

> + if (!superuser())
> + ereport(ERROR,
> + (errcode(ERRCODE_INSUFFICIENT_PRIVILEGE),
> + errmsg("permission denied to perform ALTER SYSTEM RELOAD")));

I don't have a strong opinion either way, but if this check remains the error
message we commonly use is "must be superuser to ..."

--
Daniel Gustafsson



Reply via email to