Re: config files in /data

Поиск
Список
Период
Сортировка
От Lamar Owen
Тема Re: config files in /data
Дата
Msg-id 3939B8D7.84DC2EBC@wgcr.org
обсуждение исходный текст
Ответ на Re: config files in /data  (Peter Eisentraut <peter_e@gmx.net>)
Ответы Re: config files in /data  (Bruce Momjian <pgman@candle.pha.pa.us>)
Список pgsql-hackers
Peter Eisentraut wrote:
> Lamar Owen writes:
> > /etc/pgsql/$name_1/*
> > /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.

The symlinks idea is not the greatest, but it _would_ serve in a pinch.

> 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.

That's why a configure option to place configuration files in whatever
location would be nice for those who want to do this sort of thing. No
forcing of anyone to do anything -- for that matter, a RedHat user is
perfectly free to install the source tarball and make the system look
however -- after all, Thomas does this already (although it is Mandrake
instead of RedHat -- cousins, really.).

Of course, I can always patch....not ideal, however.

> > I haven't looked at your new configuration file as yet, but I am very
> > interested.
> New initdb runs now install a sample.

Good.  I'm going to actually try to package the pre-7.1 stuff up in RPM
form for those most intrepid RedHat users who want to maintain a
consistency between versions.  We shall see how easily that is
accomplished in an automated manner.
> > 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. :)

That is appreciated.  The biggest difference between most platforms and
RedHat relative to PostgreSQL is that PostgreSQL is considered an
integral part of RedHat's distribution (which complicates things, as you
are aware). It is my job to make RedHat and PostgreSQL get along
smoothly.  Debian is in the same position, as PostgreSQL is also
integral to it -- and Oliver does an excellent job shepherding that
facet.

(PS: Bruce, don't you think it's about time Peter got mention on the
developers' globe?)
--
Lamar Owen
WGCR Internet Radio
1 Peter 4:11


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

Предыдущее
От: Peter Eisentraut
Дата:
Сообщение: Re: config files in /data
Следующее
От: Philip Warner
Дата:
Сообщение: Re: New warning code for missing FROM relations