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: Mon, 23 Oct 2006 18:43:21 -0400
Message-ID: <29554.1161643401@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
> 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
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: <29554.1161643401@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