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

From: Dave Page <dpage(at)pgadmin(dot)org>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: Rikard Pavelic <rikard(dot)pavelic(at)zg(dot)htnet(dot)hr>, Craig Ringer <ringerc(at)ringerc(dot)id(dot)au>, pgsql-bugs <pgsql-bugs(at)postgresql(dot)org>, Sachin Srivastava <sachin(dot)srivastava(at)enterprisedb(dot)com>, Heikki Linnakangas <heikki(dot)linnakangas(at)enterprisedb(dot)com>
Subject: Re: BUG #7485: 9.2 beta3 libxml2 can't be loaded on Windows
Date: 2012-08-16 14:29:59
Message-ID: CA+OCxoxvXchnAHYZjCLS8XtYU8KasESMSXLYo+X9HyDeVnA_QA@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

On Thu, Aug 16, 2012 at 3:28 PM, Dave Page <dpage(at)pgadmin(dot)org> wrote:
> On Thu, Aug 16, 2012 at 3:26 PM, Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> wrote:
>> Dave Page <dpage(at)pgadmin(dot)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.

Works as in, I'm happy with it. I haven't tested. Though, it'll likely
break some of the old BF animals (temporarily, I hope).

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

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

In response to

Responses

Browse pgsql-bugs by date

  From Date Subject
Next Message Valentine Gogichashvili 2012-08-16 14:53:19 Re: BUG #7494: WAL replay speed depends heavily on the shared_buffers size
Previous Message Dave Page 2012-08-16 14:28:43 Re: BUG #7485: 9.2 beta3 libxml2 can't be loaded on Windows