Skip site navigation (1) Skip section navigation (2)

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 (view raw or flat)
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

pgsql-patches by date

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

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group