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
Views: Raw Message | Whole Thread | Download mbox | Resend email
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

Browse pgsql-interfaces by date

  From Date Subject
Next Message Markus Wanner 2008-07-13 15:56:10 Re: connecting with libpq interface
Previous Message Tom Lane 2008-07-11 21:34:45 Re: connecting with libpq interface