socket file must reside in /tmp?

Started by tc lewisabout 25 years ago2 messagesgeneral
Jump to latest
#1tc lewis
tcl@bunzy.net

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.

#2Tom Lane
tgl@sss.pgh.pa.us
In reply to: tc lewis (#1)
Re: socket file must reside in /tmp?

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