Re: location of Unix socket - Mailing list pgsql-hackers

From Alfred Perlstein
Subject Re: location of Unix socket
Date
Msg-id 20001117164943.X18037@fw.wintelcom.net
Whole thread Raw
In response to location of Unix socket  ("Oliver Elphick" <olly@lfix.co.uk>)
Responses Re: location of Unix socket  (Nathan Myers <ncm@zembu.com>)
List pgsql-hackers
* Oliver Elphick <olly@lfix.co.uk> [001117 16:41] wrote:
> At present the Unix socket's location is hard-coded as /tmp.
> 
> As a result of a bug report, I have moved it in the Debian package to 
> /var/run/postgresql/.  (The bug was that tmpreaper was deleting it and
> thus blocking new connections.)
> 
> I suppose that we cannot assume that /var/run exists across all target
> systems, so could the socket location be made a configurable parameter
> in 7.1?

What about X sockets and ssh-agent sockets, and so on?

Where's the source to this thing? :)

It would make more sense to fix tempreaper to ignore non regular
files.

-- 
-Alfred Perlstein - [bright@wintelcom.net|alfred@freebsd.org]
"I have the heart of a child; I keep it in a jar on my desk."


pgsql-hackers by date:

Previous
From: "Oliver Elphick"
Date:
Subject: location of Unix socket
Next
From: Nathan Myers
Date:
Subject: Re: location of Unix socket