Re: connecting with libpq interface

From: Vincent Predoehl <vpredoehl(at)phoenixwebgroup(dot)com>
To: Alvaro Herrera <alvherre(at)commandprompt(dot)com>
Cc: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, pgsql-interfaces(at)postgresql(dot)org
Subject: Re: connecting with libpq interface
Date: 2008-08-11 15:10:44
Message-ID: 133A583D-1BD9-42EA-A995-8F5FB8838B0B@phoenixwebgroup.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-interfaces

I finally got around to working on this. Just wanted to let you guys
know that dding the host parameter to the connection string took care
of the problem … thanks!!

Dealing with the postmaster problem of selecting the correct libpq
would probably be better, but would take me more time cause I know
little about it.

On Jul 11, 2008, at 4:48 PM, Alvaro Herrera wrote:

> Tom Lane wrote:
>
>> Or you could
>> tell the postmaster to use /var/run/postgresql --- there's a
>> configuration parameter for that somewhere, IIRC.
>
> In conninfo string, you add "host=/tmp"
>
> --
> Alvaro Herrera http://
> www.CommandPrompt.com/
> PostgreSQL Replication, Consulting, Custom Development, 24x7 support

--
Vincent

In response to

Browse pgsql-interfaces by date

  From Date Subject
Next Message Александр Чешев 2008-08-14 08:31:15 PostgreSQL arrays and DBD
Previous Message Andrew McNamara 2008-08-07 03:10:06 ocpgdb released