Received: from localhost (wm.hub.org [200.46.204.128]) by postgresql.org (Postfix) with ESMTP id AC5109FA469 for ; Mon, 23 Oct 2006 19:43:39 -0300 (ADT) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.204.128]) (amavisd-new, port 10024) with ESMTP id 48357-04 for ; Mon, 23 Oct 2006 22:43:29 +0000 (UTC) X-Greylist: from auto-whitelisted by SQLgrey- Received: from sss.pgh.pa.us (sss.pgh.pa.us [66.207.139.130]) by postgresql.org (Postfix) with ESMTP id D43449FA433 for ; Mon, 23 Oct 2006 19:43:28 -0300 (ADT) Received: from sss2.sss.pgh.pa.us (tgl@localhost [127.0.0.1]) by sss.pgh.pa.us (8.13.6/8.13.6) with ESMTP id k9NMhLuq029555; Mon, 23 Oct 2006 18:43:21 -0400 (EDT) To: "Jan van der Weijde" cc: pgsql-interfaces@postgresql.org Subject: Re: PQsetdbLogin() and PQconnectdb() fail on HPUX11i 64 bits with empty servername In-reply-to: <4B9C73D1EB78FE4A81475AE8A553B3C6078025@exch-lei1.attachmate.com> References: <4B9C73D1EB78FE4A81475AE8A553B3C6078025@exch-lei1.attachmate.com> Comments: In-reply-to "Jan van der Weijde" message dated "Wed, 20 Sep 2006 14:38:23 +0200" Date: Mon, 23 Oct 2006 18:43:21 -0400 Message-ID: <29554.1161643401@sss.pgh.pa.us> From: Tom Lane X-Virus-Scanned: Maia Mailguard 1.0.1 X-Archive-Number: 200610/23 X-Sequence-Number: 6306 "Jan van der Weijde" writes: > I'm using PQsetdbLogin() or PQconnectdb() to connect to a local server > on an 64bits HP system with O/S HPUX11i. The PostgreSQL version is 8.1.4 > According to the documentation I can leave out the host specification: > However when I do that, the client givers error message: > could not connect to server: > Is the server running locally and accepting > connections on Unix domain socket "/tmp/.s.PGSQL.5432"? I tried to reproduce this on HP's testdrive machines, without success: it seems to work fine. "64bits HP system with O/S HPUX11i" is pretty darn vague, considering that HP supports this OS on two different architectures and there are multiple subversions of it, but on the whole I'd bet on a compiler problem. Is your compiler fully up-to-date with HP's patches? regards, tom lane