Re: unix_socket_directory isn't used by all bin tools

From: Peter Eisentraut <peter_e(at)gmx(dot)net>
To: <alet(at)unice(dot)fr>, <pgsql-bugs(at)postgresql(dot)org>
Subject: Re: unix_socket_directory isn't used by all bin tools
Date: 2001-03-30 15:04:58
Message-ID: Pine.LNX.4.30.0103301703010.1063-100000@peter.localdomain
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

> 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/

In response to

Responses

Browse pgsql-bugs by date

  From Date Subject
Next Message Peter Eisentraut 2001-03-30 15:06:59 Re: LATIN2 and wrong upper() and lower() functions output
Previous Message Peter Eisentraut 2001-03-30 15:02:22 Re: pq_shadow