> Jerome Alet (alet(at)unice(dot)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(at)gmx(dot)net http://yi.org/peter-e/