Re: BUG #7485: 9.2 beta3 libxml2 can't be loaded on Windows
От | Tom Lane |
---|---|
Тема | Re: BUG #7485: 9.2 beta3 libxml2 can't be loaded on Windows |
Дата | |
Msg-id | 4121.1345139193@sss.pgh.pa.us обсуждение исходный текст |
Ответ на | Re: BUG #7485: 9.2 beta3 libxml2 can't be loaded on Windows (Dave Page <dpage@pgadmin.org>) |
Список | pgsql-bugs |
Dave Page <dpage@pgadmin.org> writes: > On Thu, Aug 16, 2012 at 3:28 PM, Dave Page <dpage@pgadmin.org> wrote: >> On Thu, Aug 16, 2012 at 3:26 PM, Tom Lane <tgl@sss.pgh.pa.us> wrote: >>> 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). On the whole plan A sounds safer (ie look at LIBXML_VERSION in place of using a configure test). I'll work on that tonight or tomorrow, if nobody beats me to it. regards, tom lane
В списке pgsql-bugs по дате отправления: