Re: REPOST: redefining location of the socket file /tmp/.s.PGSQL.5432

Arcady Genkin <a.genkin@utoronto.ca>

From: Arcady Genkin <a.genkin@utoronto.ca>
To: Tom Lane <tgl@sss.pgh.pa.us>
Cc: Postgres-general <pgsql-general@postgresql.org>
Date: 2001-06-12T20:13:17Z
Lists: pgsql-bugs, pgsql-general
Tom Lane <tgl@sss.pgh.pa.us> writes:

> > Can I redefine location of the UNIX domain socket file to be other
> > than /tmp/.s.PGSQL.5432?
> 
> Yes, in 7.1 this is a supported option.  See unix_socket_directory
> parameter.

Thanks a lot, this is what I was looking for.  I have another
question, though: how are the clients (mod_php4 for e.g.) going to
know the non-standard location of the socket file?

Many thanks,
-- 
Arcady Genkin
i=1; while 1, hilb(i); i=i+1; end