Re: Overhauling GUCS

Поиск
Список
Период
Сортировка
От Decibel!
Тема Re: Overhauling GUCS
Дата
Msg-id 20080604131810.GH65238@decibel.org
обсуждение исходный текст
Ответ на Re: Overhauling GUCS  (Tom Lane <tgl@sss.pgh.pa.us>)
Ответы Re: Overhauling GUCS
Список pgsql-hackers
On Mon, Jun 02, 2008 at 10:12:06AM -0400, Tom Lane wrote:
> Greg Smith <gsmith@gregsmith.com> writes:
> > Joshua has been banging a drum for a while now that all this data needs to 
> > get pushing into the database itself.
> 
> This is, very simply, not going to happen.  Shall we go over the reasons
> why not, one more time?
> 
<snip>
> 
> I have no objection to providing alternative ways to edit the
> configuration data, but the primary source of the settings is
> going to continue to be an editable text file.  Any proposals for
> alternatives-to-a-text-editor have to work within that reality.

There's no reason that the server has to deal with a text file. I
completely agree that there must be a method to change settings even if
the database isn't running, but that method does not necessarily need to
be a text file. If we can come up with a standard API for reading and
writing config changes, we (or anyone else) can write any number of
tools to deal with the settings. And once we have an API, we can provide
a SQL interface on top of it.

Instead of focusing on exactly what the 'new postgresql.conf' is going
to look like we should focus on creating a clean configuration API. Once
we have that we can figure out what (if anything) we're doing with the
existing .conf, and what a new one (if it exists) might look like.
-- 
Decibel!, aka Jim C. Nasby, Database Architect  decibel@decibel.org 
Give your computer some brain candy! www.distributed.net Team #1828


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

Предыдущее
От: Michael Meskes
Дата:
Сообщение: Re: keyword list/ecpg
Следующее
От: Decibel!
Дата:
Сообщение: Re: rfc: add pg_dump options to dump output