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

Re: connecting with libpq interface

From: Alvaro Herrera <alvherre(at)commandprompt(dot)com>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: Vincent Predoehl <vpredoehl(at)phoenixwebgroup(dot)com>, pgsql-interfaces(at)postgresql(dot)org
Subject: Re: connecting with libpq interface
Date: 2008-07-11 21:48:47
Message-ID: 20080711214847.GN4110@alvh.no-ip.org (view raw or flat)
Thread:
Lists: 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

In response to

Responses

pgsql-interfaces by date

Next:From: Markus WannerDate: 2008-07-13 15:56:10
Subject: Re: connecting with libpq interface
Previous:From: Tom LaneDate: 2008-07-11 21:34:45
Subject: Re: connecting with libpq interface

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