From: Tom Lane <tgl@sss.pgh.pa.us>
To: Andrew Hastie <andrew@ahastie.net>
Cc: pgsql-bugs@postgresql.org
Subject: Re: BUG #6758: ./configure script sets HAVE_WCSTOMBS_L 1
Date: Fri, 31 Aug 2012 10:59:03 -0400
Message-ID: <12790.1346425143@sss.pgh.pa.us> (raw)
In-Reply-To: <5040ABAC.4070808@ahastie.net>
References: <503E46CC.5000202@ahastie.net>
<28049.1346260600@sss.pgh.pa.us>
<5040ABAC.4070808@ahastie.net>
Andrew Hastie <andrew@ahastie.net> writes:
> Thanks for the pointers. Hopefully some of the following may shed some
> light on the issue.
Thanks for the results. It seems difficult to come to any conclusion
other than that AIX has got wcstombs_l but not mbstowcs_l ... which is
darn bizarre; I'd suggest reporting it as a bug to IBM.
In the meantime, it seems like what we had better do is explicitly
test for both functions, rather than making the assumption that they
would both or neither be present. I'm not sure if we can provide any
extra functionality if only wcstombs_l is available --- that will
have to emerge in making the patch. We can certainly build without
it though.
As a temporary workaround, you should probably just modify pg_config.h
after configure runs, to remove the HAVE_WCSTOMBS_L symbol.
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, andrew@ahastie.net
Subject: Re: BUG #6758: ./configure script sets HAVE_WCSTOMBS_L 1
In-Reply-To: <12790.1346425143@sss.pgh.pa.us>
References: <503E46CC.5000202@ahastie.net> <28049.1346260600@sss.pgh.pa.us> <5040ABAC.4070808@ahastie.net> <12790.1346425143@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