Re: ALTER SYSTEM vs symlink - Mailing list pgsql-hackers

From Stephen Frost
Subject Re: ALTER SYSTEM vs symlink
Date
Msg-id 20151102145023.GQ3685@tamriel.snowman.net
Whole thread Raw
In response to Re: ALTER SYSTEM vs symlink  (Andres Freund <andres@anarazel.de>)
Responses Re: ALTER SYSTEM vs symlink  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-hackers
* Andres Freund (andres@anarazel.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

pgsql-hackers by date:

Previous
From: Stephen Frost
Date:
Subject: Re: ALTER SYSTEM vs symlink
Next
From: Tom Lane
Date:
Subject: Re: ALTER SYSTEM vs symlink