location of Unix socket

From: "Oliver Elphick" <olly(at)lfix(dot)co(dot)uk>
To: Hackers List <pgsql-hackers(at)postgresql(dot)org>
Subject: location of Unix socket
Date: 2000-11-18 00:31:30
Message-ID: 200011180031.eAI0VYq19385@linda.lfix.co.uk
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

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?

--
Oliver Elphick Oliver(dot)Elphick(at)lfix(dot)co(dot)uk
Isle of Wight http://www.lfix.co.uk/oliver
PGP: 1024R/32B8FAA1: 97 EA 1D 47 72 3F 28 47 6B 7E 39 CC 56 E4 C1 47
GPG: 1024D/3E1D0C1C: CA12 09E0 E8D5 8870 5839 932A 614D 4C34 3E1D 0C1C
========================================
"For by grace are ye saved through faith; and that not
of yourselves. It is the gift of God; not of works,
lest any man should boast." Ephesians 2:8,9

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Alfred Perlstein 2000-11-18 00:49:43 Re: location of Unix socket
Previous Message Abe 2000-11-17 23:26:10 Courses