Re: Overhauling GUCS

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Overhauling GUCS
Дата
Msg-id 29525.1212613052@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: Overhauling GUCS  (Greg Smith <gsmith@gregsmith.com>)
Ответы Re: Overhauling GUCS  (Steve Atkins <steve@blighty.com>)
Re: Overhauling GUCS  ("BRUSSER Michael" <Michael.BRUSSER@3ds.com>)
Re: Overhauling GUCS  ("David E. Wheeler" <david@kineticode.com>)
Re: Overhauling GUCS  (Andreas Pflug <pgadmin@pse-consulting.de>)
Re: Overhauling GUCS  (Andrew Dunstan <andrew@dunslane.net>)
Re: Overhauling GUCS  (Greg Smith <gsmith@gregsmith.com>)
Re: Overhauling GUCS  (Peter Eisentraut <peter_e@gmx.net>)
Список pgsql-hackers
Greg Smith <gsmith@gregsmith.com> writes:
> On Wed, 4 Jun 2008, Andreas Pflug wrote:
>> IMHO the best compromise in machine and human readability is an XML format.

> If the primary PostgreSQL configuration file becomes XML I will quit 
> working with the project.  I'm not kidding.

I have no particular use for XML in this scenario either, but really
this thread seems to be arguing about mostly-irrelevant details.  There
is not anything fundamentally broken about keeping configuration in a
text file, as is proven by the fact that all those other packages do it.

The real problem we need to solve is how to allow newbies to have the
system auto-configured to something that more or less solves their
problems.  Putting the config settings in XML does not accomplish that,
and neither does putting them inside the database.  It might knock a
day or two off the time needed to develop a tool that actually does
solve the newbie's problem ... but it's unlikely that the effort of
changing Postgres to use some other configuration representation would
get repaid through easier tool development.

So I think we should stop worrying about the file format and think about
these two problems:

* Can we present the config options in a more helpful way (this is 99%
a documentation problem, not a code problem)?

* Can we build a "configuration wizard" to tell newbies what settings
they need to tweak?
        regards, tom lane


В списке pgsql-hackers по дате отправления:

Предыдущее
От: "David E. Wheeler"
Дата:
Сообщение: Re: Overhauling GUCS
Следующее
От: Simon Riggs
Дата:
Сообщение: Re: Change lock requirements for adding a trigger