pg.ddx.io  pgsql-bugs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Dave Page <dpage@pgadmin.org>
Cc: Rikard Pavelic <rikard.pavelic@zg.htnet.hr>
Cc: Craig Ringer <ringerc@ringerc.id.au>
Cc: pgsql-bugs <pgsql-bugs@postgresql.org>
Cc: Sachin Srivastava <sachin.srivastava@enterprisedb.com>
Cc: Heikki Linnakangas <heikki.linnakangas@enterprisedb.com>
Subject: Re: BUG #7485: 9.2 beta3 libxml2 can't be loaded on Windows
Date: Thu, 16 Aug 2012 10:26:27 -0400
Message-ID: <11731.1345127187@sss.pgh.pa.us> (raw)
In-Reply-To: <CA+OCxozThZT8HYF0NQxX5SWhknttZypnS3PO0+D9b+PSMhvH4Q@mail.gmail.com>
References: <E1Sz3R9-0000FI-5J@wrigleys.postgresql.org>
	<50224DDA.5090900@ringerc.id.au>
	<502A71F8.9010104@zg.htnet.hr>
	<502B014D.8020302@ringerc.id.au>
	<502BA62B.6070408@zg.htnet.hr>
	<CA+OCxoyqLqRUODxG48rOW7y6s6Aqf-8HbaqURdeHtnN8qnyhUA@mail.gmail.com>
	<CA+OCxozThZT8HYF0NQxX5SWhknttZypnS3PO0+D9b+PSMhvH4Q@mail.gmail.com>

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?

			regards, tom lane




view thread (12+ messages)  latest in thread

Message-ID: <11731.1345127187@sss.pgh.pa.us>
Permalink:  ../11731.1345127187@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/11731.1345127187@sss.pgh.pa.us

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-bugs@postgresql.org
  Cc: tgl@sss.pgh.pa.us, dpage@pgadmin.org, rikard.pavelic@zg.htnet.hr, ringerc@ringerc.id.au, sachin.srivastava@enterprisedb.com, heikki.linnakangas@enterprisedb.com
  Subject: Re: BUG #7485: 9.2 beta3 libxml2 can't be loaded on Windows
  In-Reply-To: <11731.1345127187@sss.pgh.pa.us>
  References: <E1Sz3R9-0000FI-5J@wrigleys.postgresql.org> <50224DDA.5090900@ringerc.id.au> <502A71F8.9010104@zg.htnet.hr> <502B014D.8020302@ringerc.id.au> <502BA62B.6070408@zg.htnet.hr> <CA+OCxoyqLqRUODxG48rOW7y6s6Aqf-8HbaqURdeHtnN8qnyhUA@mail.gmail.com> <CA+OCxozThZT8HYF0NQxX5SWhknttZypnS3PO0+D9b+PSMhvH4Q@mail.gmail.com> <11731.1345127187@sss.pgh.pa.us>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox