Re: Libxml2 load error on Windows

Поиск
Список
Период
Сортировка
От Noah Misch
Тема Re: Libxml2 load error on Windows
Дата
Msg-id 20121008115945.GA25933@tornado.leadboat.com
обсуждение исходный текст
Ответ на Libxml2 load error on Windows  (Talha Bin Rizwan <talha.rizwan@gmail.com>)
Список pgsql-hackers
On Mon, Jun 18, 2012 at 02:08:29PM +0500, Talha Bin Rizwan wrote:
> PostgreSQL 9.2 Windows build is having trouble with the XML support:
> http://postgresql.1045698.n5.nabble.com/9-2-beta1-libxml2-can-t-be-loaded-on-Windows-td5710672.html

> Therefore, I used first approach to get libxml2 version number and include
> the "#define HAVE_XMLSTRUCTUREDERRORCONTEXT" in pg_config.h if libxml2 version
> is greater than 20703 (which effectively is 2.7.3). Please find attached
> patch "libxml2_win_v1.patch".

Tom fixed this differently; effectively, we now use a check like you describe
on all platforms, not just Windows:

http://git.postgresql.org/gitweb/?p=postgresql.git;a=commitdiff;h=470d0b9789981bc91a8ef2654911d80ab6a6be57

Since that commit makes your patch obsolete, I'm marking it Rejected.  Even
so, thank you for calling attention to the problem and submitting this fix.

nm



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

Предыдущее
От: Heikki Linnakangas
Дата:
Сообщение: Re: Promoting a standby during base backup (was Re: Switching timeline over streaming replication)
Следующее
От: Noah Misch
Дата:
Сообщение: Re: Visual Studio 2012 RC