From: Tom Lane <tgl@sss.pgh.pa.us>
To: H.Merijn Brand <h.m.brand@procura.nl>
Cc: pgsql-bugs@postgresql.org
Subject: Re: HP-UX 11.31 Itanium2 64bit again
Date: Tue, 11 Mar 2014 14:09:10 -0400
Message-ID: <17092.1394561350@sss.pgh.pa.us> (raw)
In-Reply-To: <20140311174922.613ef28d@pc09.procura.nl>
References: <20140311133258.2f10a235@pc09.procura.nl>
<13789.1394552320@sss.pgh.pa.us>
<20140311174922.613ef28d@pc09.procura.nl>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-bugs>
"H.Merijn Brand" <h.m.brand@procura.nl> writes:
> On Tue, 11 Mar 2014 11:38:40 -0400, Tom Lane <tgl@sss.pgh.pa.us> wrote:
>> Was Perl itself built with _XOPEN_SOURCE_EXTENDED?
> Just to make sure, building postgres with that define removed does NOT
> make it pass the tests.
I wouldn't expect it to. You'd at least have to go around and change all
the getsockopt calls to pass integer rather than ACCEPT_TYPE_ARG3 last
arguments. Possibly setsockopt and some other calls would be affected
too; I don't have the means or desire to research that myself.
It's not really clear that this is the source of the issue, though.
For it to be that, the surrounding Perl executable would have to be
determining which flavor of getsockopt() libpq.so is getting linked to.
I don't know what method HPUX11 uses to control that, but on systems
that I *am* familiar with, it's done with a differently named link
symbol, so that no such bugs should arise.
Still, you could try hacking the one place in fe-connect.c and see
whether the Perl test gets any further; that would give some evidence
to tell whether it's worth trying to fix things enough to have a
completely working Postgres build without _XOPEN_SOURCE_EXTENDED.
regards, tom lane
--
Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-bugs
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 from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-bugs@postgresql.org
Cc: tgl@sss.pgh.pa.us, h.m.brand@procura.nl
Subject: Re: HP-UX 11.31 Itanium2 64bit again
In-Reply-To: <17092.1394561350@sss.pgh.pa.us>
References: <20140311133258.2f10a235@pc09.procura.nl> <13789.1394552320@sss.pgh.pa.us> <20140311174922.613ef28d@pc09.procura.nl> <17092.1394561350@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