Thread: socket file must reside in /tmp?

socket file must reside in /tmp?

From
tc lewis
Date:
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?

From
Tom Lane
Date:
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