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

From: Simon Riggs <simon(at)2ndQuadrant(dot)com>
To: Amit Kapila <amit(dot)kapila(at)huawei(dot)com>
Cc: Robert Haas <robertmhaas(at)gmail(dot)com>, Alvaro Herrera <alvherre(at)2ndquadrant(dot)com>, Magnus Hagander <magnus(at)hagander(dot)net>, Peter Eisentraut <peter_e(at)gmx(dot)net>, PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org>, Josh Berkus <josh(at)agliodbs(dot)com>
Subject: 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-07-03 12:59:15
Message-ID: CA+U5nM+t=9TBt3rHuffJjcQfkS3KJ1CDJhhzxYLMF+aU2n2QGw@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On 3 July 2013 07:45, Amit Kapila <amit(dot)kapila(at)huawei(dot)com> wrote:

> > postgresql.auto.conf is similar enough to postgresql.conf that it will
> prevent tab completion from working as it does now. As a result it will
> cause
> > people to bring that file up for editing when we wish to avoid that.
>
> This new file postgresql.auto.conf will be created inside a new directory
> "config", so both will be in different directories.
> Will there be any confusion with tab completion for different
> directories?

Tab completion will not be confused, no.

But I think everything else will be. How will I know that some settings
have been set by ALTER SYSTEM and some by other means?

Sounds to me like a recipe for chaos. I hope nobody is calling for a commit
on this anytime soon. I think the whole thing needs some careful thought
and review before we commit this.

--
Simon Riggs http://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Training & Services

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Robert Haas 2013-07-03 13:10:17 Re: Review: Patch to compute Max LSN of Data Pages
Previous Message Amit Kapila 2013-07-03 12:44:11 Re: Review: Patch to compute Max LSN of Data Pages