Обсуждение: socket file must reside in /tmp?

Поиск
Список
Период
Сортировка

socket file must reside in /tmp?

От
tc lewis
Дата:
when configuring and installing postgresql, is there any way to specify
where pgsql/the postmaster will put its socket file (.s.PGSQL.xxxx)?  it
seems to always put it in /tmp.  i can't seem to find a tmpdir option or
anything similar to use as a configure option.  anything?

-tcl.



Re: socket file must reside in /tmp?

От
Tom Lane
Дата:
tc lewis <tcl@bunzy.net> writes:
> when configuring and installing postgresql, is there any way to specify
> where pgsql/the postmaster will put its socket file (.s.PGSQL.xxxx)?

Possible in 7.1, but not in earlier releases.  Note that moving around
the socket file is likely to create compatibility problems with clients
that expect it to be in /tmp.

            regards, tom lane