Re: whichever ALTER SYSTEM thread is the right one

From: Stephen Frost <sfrost(at)snowman(dot)net>
To: Bruce Momjian <bruce(at)momjian(dot)us>
Cc: Josh Berkus <josh(at)agliodbs(dot)com>, Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, Andres Freund <andres(at)2ndquadrant(dot)com>, Greg Stark <stark(at)mit(dot)edu>, Alvaro Herrera <alvherre(at)2ndquadrant(dot)com>, Fujii Masao <masao(dot)fujii(at)gmail(dot)com>, Robert Haas <robertmhaas(at)gmail(dot)com>, Amit Kapila <amit(dot)kapila(at)huawei(dot)com>, Dimitri Fontaine <dimitri(at)2ndquadrant(dot)fr>, pgsql-hackers(at)postgresql(dot)org
Subject: Re: whichever ALTER SYSTEM thread is the right one
Date: 2013-08-05 18:13:41
Message-ID: 20130805181341.GO2706@tamriel.snowman.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

* Bruce Momjian (bruce(at)momjian(dot)us) wrote:
> On Mon, Aug 5, 2013 at 02:02:50PM -0400, Stephen Frost wrote:
> > * Josh Berkus (josh(at)agliodbs(dot)com) wrote:
> > > I'll also point out that some of our settings only really "work" in
> > > combinations of two or more settings. For example, one doesn't want to
> > > set archive_mode = on unless one is setting archive_command as well.
> >
> > And one doesn't want to set archive_command w/o doing some kind of setup
> > work on the server in question, perhaps setting up SSH keys or putting a
> > decent shell script in place to be called from archive_command. That's
> > part of my issue w/ this- the parameters which can't be set up correctly
> > through sole use of "ALTER SYSTEM" should be excluded from it and
> > instead set up through a config file.
>
> Yes, but many setting changes don't require file system changes.

Agreed, and those are the changes which would make sense to allow
through ALTER SYSTEM (or ALTER CLUSTER, or whatever)- settings which
don't require file system, network, etc, changes.

Thanks,

Stephen

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Stefan Kaltenbrunner 2013-08-05 18:14:45 Re: Unsafe GUCs and ALTER SYSTEM WAS: Re: ALTER SYSTEM SET
Previous Message Josh Berkus 2013-08-05 18:05:43 Re: File-per-GUC WAS: Re: ALTER SYSTEM SET command to change postgresql.conf parameters (RE: Proposal for Allow postgresql.conf values to be changed via SQL [review])