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

From Nathan Myers
Subject Re: location of Unix socket
Date
Msg-id 20001117170016.K12682@store.zembu.com
Whole thread Raw
In response to Re: location of Unix socket  (Alfred Perlstein <bright@wintelcom.net>)
Responses Re: location of Unix socket  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-hackers
On Fri, Nov 17, 2000 at 04:49:43PM -0800, Alfred Perlstein wrote:
> * 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.

X sockets are in subdirectories, e.g. /tmp/.X11-unix/X0.
/tmp is a bad place for this stuff anyway.

Nathan Myers
ncm@zembu.com


pgsql-hackers by date:

Previous
From: Alfred Perlstein
Date:
Subject: Re: location of Unix socket
Next
From: Tom Lane
Date:
Subject: Re: Varchar standard compliance