Re: BUG #7485: 9.2 beta3 libxml2 can't be loaded on Windows

Поиск
Список
Период
Сортировка
От Dave Page
Тема Re: BUG #7485: 9.2 beta3 libxml2 can't be loaded on Windows
Дата
Msg-id CA+OCxoySJ03p0b9yfxM0rNpuBAxtLKu2qOxng+WoXu4V0sKvDg@mail.gmail.com
обсуждение исходный текст
Ответ на Re: BUG #7485: 9.2 beta3 libxml2 can't be loaded on Windows  (Tom Lane <tgl@sss.pgh.pa.us>)
Ответы Re: BUG #7485: 9.2 beta3 libxml2 can't be loaded on Windows
Список pgsql-bugs
On Thu, Aug 16, 2012 at 3:26 PM, Tom Lane <tgl@sss.pgh.pa.us> wrote:
> Dave Page <dpage@pgadmin.org> writes:
>> So Sachin and I have looked at this but not found a problem with the
>> installers. He then found that one of our colleagues has already
>> reported this as an issue with PostgreSQL and submitted a possible
>> patch. So, we need a committer to look at fixing this:
>
>> http://archives.postgresql.org/pgsql-hackers/2012-06/msg00874.php
>
> Seems pretty brute-force.  Why not just
>
> #if LIBXML_VERSION > 20703
> #define HAVE_XMLSTRUCTUREDERRORCONTEXT
> #endif
>
> in some suitable place (probably xml.c itself, since I don't think we
> want to #include xmlversion.h in global headers)?
>
> Or actually, maybe we could just unconditionally define
> HAVE_XMLSTRUCTUREDERRORCONTEXT in pg_config.h.win32.  Is anybody
> likely to still be building PG with ancient libxml on Windows?

That works for me. Using older libxml's would be a bad idea anyway -
and there are precompiled binaries available, so it's not hard to get.


--
Dave Page
Blog: http://pgsnake.blogspot.com
Twitter: @pgsnake

EnterpriseDB UK: http://www.enterprisedb.com
The Enterprise PostgreSQL Company

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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: BUG #7485: 9.2 beta3 libxml2 can't be loaded on Windows
Следующее
От: Dave Page
Дата:
Сообщение: Re: BUG #7485: 9.2 beta3 libxml2 can't be loaded on Windows