Re: REPOST: redefining location of the socket file /tmp/.s.PGSQL.5432
Tom Lane <tgl@sss.pgh.pa.us>
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Arcady Genkin <a.genkin@utoronto.ca>
Cc: Postgres-general <pgsql-general@postgresql.org>
Date: 2001-06-12T20:17:42Z
Lists: pgsql-bugs, pgsql-general
Arcady Genkin <a.genkin@utoronto.ca> writes: > 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? They're not, unless you tell them, which is why runtime setting of the parameter isn't all that useful IMHO. But some people wanted it, so there it is. regards, tom lane