Re: Re: ALTER SYSTEM SET command to change postgresql.conf parameters (RE: Proposal for Allow postgresql.conf values to be changed via SQL [review])

From: Amit Kapila <amit(dot)kapila(at)huawei(dot)com>
To: "'Josh Berkus'" <josh(at)agliodbs(dot)com>, "'Bruce Momjian'" <bruce(at)momjian(dot)us>
Cc: "'Greg Stark'" <stark(at)mit(dot)edu>, "'Andres Freund'" <andres(at)2ndquadrant(dot)com>, "'Alvaro Herrera'" <alvherre(at)2ndquadrant(dot)com>, "'Fujii Masao'" <masao(dot)fujii(at)gmail(dot)com>, "'Robert Haas'" <robertmhaas(at)gmail(dot)com>, "'Dimitri Fontaine'" <dimitri(at)2ndquadrant(dot)fr>, <pgsql-hackers(at)postgresql(dot)org>, "'Tom Lane'" <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Subject: Re: Re: ALTER SYSTEM SET command to change postgresql.conf parameters (RE: Proposal for Allow postgresql.conf values to be changed via SQL [review])
Date: 2013-08-08 09:51:56
Message-ID: 009a01ce941c$ebd43070$c37c9150$@kapila@huawei.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Monday, August 05, 2013 10:12 PM Josh Berkus wrote:
> All,
>
> To limit the argument here, let's please not argue about things which
> people already agree on. So:
>
> We seem to have consensus around:
>
> A) the inadvisability of storing GUCs in a system catalog.
>
> B) the utility of a conf.d in /etc/ which may have nothing to do with
> ALTER SYSTEM SET
>
> C) that any file for ALTER SYSTEM SET go in $PGDATA somewhere.
>
> What we are still arguing about:

Summarization of discussion, please add if I have missed or misunderstood any conclusive point:

> D) one-big-file vs. file-per-setting
Here I think there are no points against one-big-file and not much in favor of file-per-setting.
I believe there is enough support for one-big-file that there is no need to change it to file-per-setting.

> E) whether "unsafe" settings or "restart" settings should be allowed in
> ALTER SYSTEM SET.
a. Settings should continue to be in flat file. This will allow user to change settings incase anything goes wrong.
b. Few unsafe settings shouldn't be allowed to change, but there can be an option (new keyword FORCE) to change if user wants it.
Initial set of parameters suggested by Stephen Frost:
http://www.postgresql.org/message-id/20130802145442.GB2706@tamriel.snowman.net

> F) whether admins need the ability to disable ALTER SYSTEM SET.
a. UI into contrib module, people who don't want doesn't include it
b. Have an include file mechanism, so that user can comment the include in postgresql.conf and disable it.

Some new requirements
1. Show System command to separately show the values set by Alter System
2. append-to-this-GUC flag instead of overwriting the previous value.

With Regards,
Amit Kapila.

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Vik Fearing 2013-08-08 11:52:44 [PATCH] pg_sleep(interval)
Previous Message Dimitri Fontaine 2013-08-08 08:35:42 Re: MultiXactId concept underdocumented