pg.ddx.io  pgsql-interfaces@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Jan van der Weijde <Jan.van.der.Weijde@attachmate.com>
Cc: pgsql-interfaces@postgresql.org
Subject: Re: PQsetdbLogin() and PQconnectdb() fail on HPUX11i 64 bits with empty servername
Date: Sat, 23 Sep 2006 14:53:58 -0400
Message-ID: <27209.1159037638@sss.pgh.pa.us> (raw)
In-Reply-To: <4B9C73D1EB78FE4A81475AE8A553B3C6078025@exch-lei1.attachmate.com>
References: <4B9C73D1EB78FE4A81475AE8A553B3C6078025@exch-lei1.attachmate.com>

"Jan van der Weijde" <Jan.van.der.Weijde@attachmate.com> 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



view thread (3+ messages)  latest in thread

Message-ID: <27209.1159037638@sss.pgh.pa.us>
Permalink:  ../27209.1159037638@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/27209.1159037638@sss.pgh.pa.us

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-interfaces@postgresql.org
  Cc: tgl@sss.pgh.pa.us, Jan.van.der.Weijde@attachmate.com
  Subject: Re: PQsetdbLogin() and PQconnectdb() fail on HPUX11i 64 bits with empty servername
  In-Reply-To: <27209.1159037638@sss.pgh.pa.us>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox