Re: BUG #6758: ./configure script sets HAVE_WCSTOMBS_L 1

Поиск
Список
Период
Сортировка
От Andrew Hastie
Тема Re: BUG #6758: ./configure script sets HAVE_WCSTOMBS_L 1
Дата
Msg-id 5040E132.3040108@ahastie.net
обсуждение исходный текст
Ответ на Re: BUG #6758: ./configure script sets HAVE_WCSTOMBS_L 1  (Tom Lane <tgl@sss.pgh.pa.us>)
Ответы Re: BUG #6758: ./configure script sets HAVE_WCSTOMBS_L 1
Список pgsql-bugs
On 31/08/12 15:59, Tom Lane wrote:
> 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.
Confirm that the workaround works just fine. Now have PG 9.1.5 up and
running on AIX just fine.
Thanks.
Andrew
>
>             regards, tom lane
>
>

В списке pgsql-bugs по дате отправления:

Предыдущее
От: Alvaro Herrera
Дата:
Сообщение: Re: BUG #6704: ALTER EXTENSION postgis SET SCHEMA leaves dangling relations
Следующее
От: Bruce Momjian
Дата:
Сообщение: Re: BUG #7482: lack of quotation marks in pg_env script