Re: Add socket dir to pg_config..?

Поиск
Список
Период
Сортировка
От Mr. Aaron W. Swenson
Тема Re: Add socket dir to pg_config..?
Дата
Msg-id 20111029202856.GA28578@atlas
обсуждение исходный текст
Ответ на Re: Add socket dir to pg_config..?  (Dimitri Fontaine <dimitri@2ndQuadrant.fr>)
Ответы Re: Add socket dir to pg_config..?
Список pgsql-hackers
On Fri, Oct 28, 2011 at 06:33:39PM +0200, Dimitri Fontaine wrote:
> Andrew Dunstan <andrew@dunslane.net> writes:
> > Er, which distros other than debian/ubuntu?
>
> Well, any and all derivatives I guess, to begin with.
>
>   http://distrowatch.com/dwres.php?resource=independence#debian
>   Based on Debian GNU/Linux: 129 Distributions
>
> More seriously, I'm not sure how to understand why some people will both
> frown upon distribution allowing themselves to patch the version of
> PostgreSQL they are packaging, and vote against making their life
> easier.
>
> If /tmp is the only decent place where to put the socket file on Unix
> when security and other concerns are considered, then sure, making
> distro life difficult is a good thing to do. But then let's take it to
> the FHS that debian and ubuntu are implementing, AFAIUI.
>
> I'm puzzled, maybe I'm not understanding a key point here though.
>
> Regards,
> --
> Dimitri Fontaine
> http://2ndQuadrant.fr     PostgreSQL : Expertise, Formation et Support

In Gentoo, we change the socket directory to /var/run/postgresql via
pg_config_manual.h. However, I'm not too terribly interested in pg_config
outputting the directory location.

We inform users at the end of every install where the default location
is. Further, all of the packages we maintain build against the sources so
the packages automatically know where the socket directory is located.

--
Mr. Aaron W. Swenson
Gentoo Linux Developer
Email    : titanofold@gentoo.org
GnuPG FP : 2C00 7719 4F85 FB07 A49C  0E31 5713 AA03 D1BB FDA0
GnuPG ID : D1BBFDA0

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

Предыдущее
От: Robert Haas
Дата:
Сообщение: Re: [v9.2] make_greater_string() does not return a string in some cases
Следующее
От: Tom Lane
Дата:
Сообщение: Re: [v9.2] make_greater_string() does not return a string in some cases