Re: unix_socket_directory isn't used by all bin tools
Peter Eisentraut <peter_e@gmx.net>
From: Peter Eisentraut <peter_e@gmx.net>
To: <alet@unice.fr>, <pgsql-bugs@postgresql.org>
Date: 2001-03-30T15:04:58Z
Lists: 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/