Received: from localhost (unknown [200.46.204.183]) by postgresql.org (Postfix) with ESMTP id 8442A65003C for ; Fri, 11 Jul 2008 18:49:09 -0300 (ADT) Received: from postgresql.org ([200.46.204.86]) by localhost (mx1.hub.org [200.46.204.183]) (amavisd-maia, port 10024) with ESMTP id 66538-06 for ; Fri, 11 Jul 2008 18:49:02 -0300 (ADT) X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 Received: from lists.commandprompt.com (host-159.commandprompt.net [207.173.203.159]) by postgresql.org (Postfix) with ESMTP id EFFAE64FCE7 for ; Fri, 11 Jul 2008 18:49:05 -0300 (ADT) Received: from perhan.alvh.no-ip.org (190-95-31-93.bk17-dsl.surnet.cl [190.95.31.93]) (authenticated bits=0) by lists.commandprompt.com (8.13.8/8.13.8) with ESMTP id m6BLp09p016513 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Fri, 11 Jul 2008 14:51:17 -0700 Received: by perhan.alvh.no-ip.org (Postfix, from userid 1000) id 2A71147C7E; Fri, 11 Jul 2008 17:48:47 -0400 (CLT) Date: Fri, 11 Jul 2008 17:48:47 -0400 From: Alvaro Herrera To: Tom Lane Cc: Vincent Predoehl , pgsql-interfaces@postgresql.org Subject: Re: connecting with libpq interface Message-ID: <20080711214847.GN4110@alvh.no-ip.org> References: <8EAB9EDC-BC0E-4C5F-BE0F-20F6DBAE1660@phoenixwebgroup.com> <19689.1215806725@sss.pgh.pa.us> <33C26302-6E84-440C-843D-F39A2F892CEE@phoenixwebgroup.com> <28361.1215812085@sss.pgh.pa.us> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <28361.1215812085@sss.pgh.pa.us> User-Agent: Mutt/1.5.18 (2008-05-17) X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.0 (lists.commandprompt.com [207.173.203.159]); Fri, 11 Jul 2008 14:51:17 -0700 (PDT) X-Virus-Scanned: Maia Mailguard 1.0.1 X-Archive-Number: 200807/11 X-Sequence-Number: 6769 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