Re: config files in /data

Поиск
Список
Период
Сортировка
От Peter Eisentraut
Тема Re: config files in /data
Дата
Msg-id Pine.LNX.4.21.0006040105430.348-100000@localhost.localdomain
обсуждение исходный текст
Ответ на Re: config files in /data  (Lamar Owen <lamar.owen@wgcr.org>)
Список pgsql-hackers
Lamar Owen writes:

> /etc/pgsql/$name_1/*
> /var/lib/pgsql/$name_1/data
> /etc/pgsql/$name_2/*
> /var/lib/pgsql/$name_1/data
> etc.

I can see how that would make sense in some standard layout. But you could
easily make symlinks from /etc/ to the respective /var. Yes, that may look
ugly to some, but the alternative might look just as ugly to some others.
I mean users in a manual setup would actually have to go out of their way
to put the configuration files somewhere else during initdb and then pick
them up from there when they start the postmaster. If you want to do that
behind the scenes in a prepackaged deal, okay, but I don't think exposing
the users to these kinds of things will make things easier.


> I haven't looked at your new configuration file as yet, but I am very
> interested.

New initdb runs now install a sample.


> Thoughts?

Well my overall thought is that the FHS and PostgreSQL are not necessarily
a match made in heaven but I understand that you have some implicit
commitments so I won't try to make it harder for you. :)


-- 
Peter Eisentraut                  Sernanders väg 10:115
peter_e@gmx.net                   75262 Uppsala
http://yi.org/peter-e/            Sweden



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

Предыдущее
От: Giles Lean
Дата:
Сообщение: Re: Re: Industrial-Strength Logging
Следующее
От: Lamar Owen
Дата:
Сообщение: Re: config files in /data