From: Tom Lane <tgl@sss.pgh.pa.us>
To: H.Merijn Brand <h.m.brand@xs4all.nl>
Cc: Simon Riggs <simon@2ndQuadrant.com>
Cc: pgsql-bugs@postgresql.org
Subject: Re: [Fwd: DBD::Pg on HP-UX 11.31 64bit]
Date: Thu, 16 Dec 2010 12:56:12 -0500
Message-ID: <23792.1292522172@sss.pgh.pa.us> (raw)
In-Reply-To: <20101216184257.2d19fa5a@pc09.procura.nl>
References: <1292355427.2737.4589.camel@ebony>
<18189.1292357796@sss.pgh.pa.us>
<20101216174803.20b2b6db@pc09.procura.nl>
<23253.1292520241@sss.pgh.pa.us>
<23387.1292520681@sss.pgh.pa.us>
<20101216184257.2d19fa5a@pc09.procura.nl>
"H.Merijn Brand" <h.m.brand@xs4all.nl> writes:
> On Thu, 16 Dec 2010 12:31:21 -0500, Tom Lane <tgl@sss.pgh.pa.us> wrote:
>> So what I'm thinking is happening is that libpq expects size_t as
>> the argument type, but it's getting linked against a libc that
>> expects int as the argument type, and whatever HP is doing under
>> the hood fails to cope with that case. You might try removing
>> -D_XOPEN_SOURCE_EXTENDED from the template file --- I don't know if
>> that will have any bad side-effects, but it's worth a try to build
>> libpq that way.
> I'll try that first after cleaning up my environment.
I looked in the git history and found that I added
-D_XOPEN_SOURCE_EXTENDED in a patch that made getaddrinfo work
correctly:
http://git.postgresql.org/gitweb?p=postgresql.git;a=commit;h=1da6eb7fdaa79a93972c290174bd7136672a894...
So taking it out may indeed have unpleasant side-effects.
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 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@xs4all.nl, simon@2ndQuadrant.com
Subject: Re: [Fwd: DBD::Pg on HP-UX 11.31 64bit]
In-Reply-To: <23792.1292522172@sss.pgh.pa.us>
References: <1292355427.2737.4589.camel@ebony> <18189.1292357796@sss.pgh.pa.us> <20101216174803.20b2b6db@pc09.procura.nl> <23253.1292520241@sss.pgh.pa.us> <23387.1292520681@sss.pgh.pa.us> <20101216184257.2d19fa5a@pc09.procura.nl> <23792.1292522172@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