Re: ALTER SYSTEM vs symlink

From: Stephen Frost <sfrost(at)snowman(dot)net>
To: Andres Freund <andres(at)anarazel(dot)de>
Cc: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, Andrew Dunstan <andrew(at)dunslane(dot)net>, PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: ALTER SYSTEM vs symlink
Date: 2015-11-02 14:50:23
Message-ID: 20151102145023.GQ3685@tamriel.snowman.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

* Andres Freund (andres(at)anarazel(dot)de) wrote:
> On 2015-11-02 09:43:02 -0500, Stephen Frost wrote:
> > What this request strikes me as asking for is the same as what I asked
> > for when this feature was originally going in- there should be a way to
> > disable it.
>
> You can just revoke permissions on the file if necessary. Results in the
> expected
> ERROR: XX000: could not open file "../postgresql.auto.conf": Permission denied

Yes, I know, but that's a really grotty way of offering a way to disable
ALTER SYSTEM. It's also not exactly intuitive to someone reading the
release notes or working on upgrading their existing postgresql.conf.

Thanks!

Stephen

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Tom Lane 2015-11-02 15:14:17 Re: ALTER SYSTEM vs symlink
Previous Message Stephen Frost 2015-11-02 14:48:54 Re: ALTER SYSTEM vs symlink