From: David <dbree@duo-county.com>
To: Tom Lane <tgl@sss.pgh.pa.us>
Cc: pgsql-admin@postgresql.org
Subject: Re: Connecting via localhost pg-8.0.3
Date: Thu, 16 Jun 2005 15:22:58 -0500
Message-ID: <20050616202258.GA1557@localhost.localdomain> (raw)
In-Reply-To: <10056.1118894915@sss.pgh.pa.us>
References: <20050615022603.GA1615@localhost.localdomain>
<27553.1118805754@sss.pgh.pa.us>
<20050616020048.GA1912@localhost.localdomain>
<10056.1118894915@sss.pgh.pa.us>
On Thu, Jun 16, 2005 at 12:08:35AM -0400, Tom Lane wrote:
> David <dbree@duo-county.com> writes:
> > Well, you guessed correctly. It was a configuration problem. By
> > inserting the line:
> > unix_socket_directory = '/var/run/postgresql'
> > into postgresql.conf, it works as expected.
>
> Well, you've still got an issue here somewhere, because if your server
> and client libraries came from the same build then they ought to agree
> on this without any help from the config file. AFAIK, Debian hasn't
> changed their policy about where to put the socket, so it seems like you
> must be using a server that didn't come from Debian.
dlb@localhost:~$ apt-cache policy postgresql-8.0
postgresql-8.0:
Installed: 8.0.3-5
Candidate: 8.0.3-5
Version Table:
*** 8.0.3-5 0
90 ftp://ftp.us.debian.org sid/main Packages
100 /var/lib/dpkg/status
There is a bug report at bugs.debian.org/postgresql-8.0 (also in the new
postgresql-common package) relating to the location of the socket. I'd
seen this report before posting my original message, but things didn't
click until I read your reply. Anyway, there was a suggestion by
someone that unix_socket_directory needed to be specified.
I do not know now where where the Debian 7.4 socket was located, as I
had no need to look into that.
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-admin@postgresql.org
Cc: dbree@duo-county.com, tgl@sss.pgh.pa.us
Subject: Re: Connecting via localhost pg-8.0.3
In-Reply-To: <20050616202258.GA1557@localhost.localdomain>
References: <20050615022603.GA1615@localhost.localdomain> <27553.1118805754@sss.pgh.pa.us> <20050616020048.GA1912@localhost.localdomain> <10056.1118894915@sss.pgh.pa.us> <20050616202258.GA1557@localhost.localdomain>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox