Re: unix_socket_directory isn't used by all bin tools - Mailing list pgsql-bugs

From Peter Eisentraut
Subject Re: unix_socket_directory isn't used by all bin tools
Date
Msg-id Pine.LNX.4.30.0103301703010.1063-100000@peter.localdomain
Whole thread Raw
In response to unix_socket_directory isn't used by all bin tools  (pgsql-bugs@postgresql.org)
Responses Re: unix_socket_directory isn't used by all bin tools
List pgsql-bugs
> Jerome Alet (alet@unice.fr) reports a bug with a severity of 2
> The lower the number the more severe it is.

> I've defined unix_socket_directory to be /var/lib/postgres
> in /var/lib/data/postgresql.conf
>
> it seems that at least createuser doesn't take care of this directory
> setting, because it searches the socket exclusively in /tmp, so it
> fails asking whether postmaster is running or not.

The configuration file is only for the server; the clients don't see it.
Client tools can use the PGHOST environment variable or the -h option, or
whatever else the client has implemented.

--
Peter Eisentraut      peter_e@gmx.net       http://yi.org/peter-e/

pgsql-bugs by date:

Previous
From: Peter Eisentraut
Date:
Subject: Re: pq_shadow
Next
From: "Joe Shevland"
Date:
Subject: RE: [JDBC] Possible large object bug?