Re: location of Unix socket

From: Alfred Perlstein <bright(at)wintelcom(dot)net>
To: Oliver Elphick <olly(at)lfix(dot)co(dot)uk>
Cc: Hackers List <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: location of Unix socket
Date: 2000-11-18 00:49:43
Message-ID: 20001117164943.X18037@fw.wintelcom.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

* Oliver Elphick <olly(at)lfix(dot)co(dot)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(at)wintelcom(dot)net|alfred(at)freebsd(dot)org]
"I have the heart of a child; I keep it in a jar on my desk."

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Nathan Myers 2000-11-18 01:00:16 Re: location of Unix socket
Previous Message Oliver Elphick 2000-11-18 00:31:30 location of Unix socket