unix_socket_directory isn't used by all bin tools

PostgreSQL Bugs List <pgsql-bugs@postgresql.org>

From: pgsql-bugs@postgresql.org
To: pgsql-bugs@postgresql.org
Date: 2001-03-30T13:35:37Z
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.

Short Description
unix_socket_directory isn't used by all bin tools

Long Description
I use 7.1RC1

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.

if I remove the unix_socket_directory setting from postgresql.conf all works fine.

System: GNU/LInux Debian Woody
Kernel 2.4.2
Glibc 2.2.2

bye,

Jerome Alet

Sample Code


No file was uploaded with this report