Received: from localhost (wm.hub.org [200.46.204.128]) by postgresql.org (Postfix) with ESMTP id 0D8DC9FA6B2 for ; Sat, 23 Sep 2006 15:54:17 -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 22962-02 for ; Sat, 23 Sep 2006 18:54:06 +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 A1BDD9FA666 for ; Sat, 23 Sep 2006 15:54:06 -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 k8NIrwrr027210; Sat, 23 Sep 2006 14:53:58 -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: Sat, 23 Sep 2006 14:53:58 -0400 Message-ID: <27209.1159037638@sss.pgh.pa.us> From: Tom Lane X-Virus-Scanned: Maia Mailguard 1.0.1 X-Archive-Number: 200609/24 X-Sequence-Number: 6269 "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 > ... > When I compile the client API as 32 bits code, the error does not occur. > When I do specify localhost or an actual server name both connect > functions succeed. What exactly do you mean by "HPUX11i" --- it's not even clear whether you are talking about a PA-RISC or an Intel platform here? What compiler are you using, and with what options? (The output of pg_config would be helpful.) FWIW, I checked PG 8.1 before release on 11.23, PA-RISC and IA64 both, and it passed regression tests in 64-bit builds, so it's not completely broken on that platform. The regression tests do use local connections by default. regards, tom lane