Re: SQL command to edit postgresql.conf, with comments - Mailing list pgsql-hackers

From Tom Lane
Subject Re: SQL command to edit postgresql.conf, with comments
Date
Msg-id 28662.1286988975@sss.pgh.pa.us
Whole thread Raw
In response to Re: SQL command to edit postgresql.conf, with comments  (Robert Haas <robertmhaas@gmail.com>)
Responses Re: SQL command to edit postgresql.conf, with comments
List pgsql-hackers
Robert Haas <robertmhaas@gmail.com> writes:
> But creating a separate file doesn't fix that problem.  It just moves
> it around.  If people will expect comments in postgresql.conf to get
> preserved, then why won't they also expect comments in
> postgresql.conf.auto to get preserved?

Because postgresql.conf.auto will have a nice leading comment telling
people (1) not to hand-edit the file, (2) if they do so anyway,
not to expect comments to be preserved, and (3) the place to do manual
editing of settings is postgresql.conf.

> If the answer is "because postgresql.conf has always worked that way
> before", then add one more line to the proposed initial contents
> saying it's not true any more.

Sorry, wrong answer.  The objection to this is not whether you tell
people that you're taking away the ability to keep useful comments
in postgresql.conf, it's that you're taking away the ability.
        regards, tom lane


pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: leaky views, yet again
Next
From: Alexander Korotkov
Date:
Subject: Re: levenshtein_less_equal (was: multibyte charater set in levenshtein function)