zope connection string

Lists: pgsql-patches
From: "cmo1\(at)libero\(dot)it" <cmo1(at)libero(dot)it>
To: "pgsql-patches" <pgsql-patches(at)postgresql(dot)org>
Subject: zope connection string
Date: 2006-12-04 14:02:42
Message-ID: J9R5OI$9BB305E44F8157277EABE8D6FDD69CD1@libero.it
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-patches

In order to my mail bug #2801 I've solved this one modify the zope-psycopgda connection string:
postgresql7.4.7:dbname=... user=...
while
postgresql7.2.1:dbname=... user=... host=...
I don't know why but it works.
Cordial regards
Carmelo

------------------------------------------------------
Mutuo da 200.000€? Tassi ridotti:euribor +0.69%. Solo per richieste online. www.mutuionline.it
http://click.libero.it/mutuionline04dic0


From: Alvaro Herrera <alvherre(at)commandprompt(dot)com>
To: "cmo1(at)libero(dot)it" <cmo1(at)libero(dot)it>
Cc: pgsql-patches <pgsql-patches(at)postgresql(dot)org>
Subject: Re: zope connection string
Date: 2006-12-04 14:31:29
Message-ID: 20061204143129.GB28324@alvh.no-ip.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-patches

cmo1(at)libero(dot)it wrote:
> In order to my mail bug #2801 I've solved this one modify the zope-psycopgda connection string:
> postgresql7.4.7:dbname=... user=...
> while
> postgresql7.2.1:dbname=... user=... host=...
> I don't know why but it works.

When you specify "host" it always uses a TCP socket. If you don't it
tries a Unix socket. If the TCP socket is not enabled, obviously the
second line will fail. I assume the host is localhost.

--
Alvaro Herrera http://www.CommandPrompt.com/
The PostgreSQL Company - Command Prompt, Inc.