Re: REPOST: redefining location of the socket file /tmp/.s.PGSQL.5432 - Mailing list pgsql-general

From Arcady Genkin
Subject Re: REPOST: redefining location of the socket file /tmp/.s.PGSQL.5432
Date
Msg-id r1zhexltq1u.fsf@gnu.cdf.toronto.edu
Whole thread Raw
In response to Re: REPOST: redefining location of the socket file /tmp/.s.PGSQL.5432  (Tom Lane <tgl@sss.pgh.pa.us>)
Responses Re: REPOST: redefining location of the socket file /tmp/.s.PGSQL.5432  (Tom Lane <tgl@sss.pgh.pa.us>)
List 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

pgsql-general by date:

Previous
From: Martín Marqués
Date:
Subject: Re: tables, permissions, sequences
Next
From: "Tim Barnard"
Date:
Subject: Re: libpq++ PgDatabase and PgConnection