Re: connecting with libpq interface - Mailing list pgsql-interfaces

From Alvaro Herrera
Subject Re: connecting with libpq interface
Date
Msg-id 20080711214847.GN4110@alvh.no-ip.org
Whole thread Raw
In response to Re: connecting with libpq interface  (Tom Lane <tgl@sss.pgh.pa.us>)
Responses Re: connecting with libpq interface  (Vincent Predoehl <vpredoehl@phoenixwebgroup.com>)
List pgsql-interfaces
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


pgsql-interfaces by date:

Previous
From: Tom Lane
Date:
Subject: Re: connecting with libpq interface
Next
From: Markus Wanner
Date:
Subject: Re: connecting with libpq interface