Re: zope connection string

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
Thread:
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.

In response to

Browse pgsql-patches by date

  From Date Subject
Next Message Tom Lane 2006-12-04 14:53:44 Re: 8.2rc1 (much) slower than 8.2dev?
Previous Message Simon Riggs 2006-12-04 14:15:23 Re: On-disk bitmap index implementation