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

From pgsql-bugs@postgresql.org
Subject unix_socket_directory isn't used by all bin tools
Date
Msg-id 200103301335.f2UDZb284619@hub.org
Whole thread Raw
Responses Re: unix_socket_directory isn't used by all bin tools  (Peter Eisentraut <peter_e@gmx.net>)
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.

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

pgsql-bugs by date:

Previous
From: Maurizio Ortolan
Date:
Subject: Error in the date field (with NULL value...).Thanks!
Next
From: Robert Gaszewski
Date:
Subject: LATIN2 and wrong upper() and lower() functions output