pg.ddx.io pgsql-bugs@postgresql.org mailing list archive
help / color / mirror / Atom feedBUG #7485: 9.2 beta3 libxml2 can't be loaded on Windows
12+ messages / 5 participants
[nested] [flat]
* BUG #7485: 9.2 beta3 libxml2 can't be loaded on Windows
@ 2012-08-08 10:24 rikard.pavelic@zg.htnet.hr
2012-08-08 11:30 ` Re: BUG #7485: 9.2 beta3 libxml2 can't be loaded on Windows Craig Ringer <ringerc@ringerc.id.au>
2012-08-08 11:31 ` Re: BUG #7485: 9.2 beta3 libxml2 can't be loaded on Windows Craig Ringer <ringerc@ringerc.id.au>
0 siblings, 2 replies; 12+ messages in thread
From: rikard.pavelic@zg.htnet.hr @ 2012-08-08 10:24 UTC (permalink / raw)
To: pgsql-bugs
The following bug has been logged on the website:
Bug reference: 7485
Logged by: Rikard Pavelic
Email address: rikard.pavelic@zg.htnet.hr
PostgreSQL version: Unsupported/Unknown
Operating system: Windows
Description:
This is still an issue as reported in
http://archives.postgresql.org/pgsql-bugs/2012-05/msg00231.php
While on topic of XML is there any workaround for this?
CREATE TABLE data (id int, x xml);
SELECT t FROM data t GROUP BY t;
I'm not really sure what operator to create. I'm fine with xml being
compared like text
^ permalink raw reply [nested|flat] 12+ messages in thread
* Re: BUG #7485: 9.2 beta3 libxml2 can't be loaded on Windows
2012-08-08 10:24 BUG #7485: 9.2 beta3 libxml2 can't be loaded on Windows rikard.pavelic@zg.htnet.hr
@ 2012-08-08 11:30 ` Craig Ringer <ringerc@ringerc.id.au>
2012-08-14 15:42 ` Re: BUG #7485: 9.2 beta3 libxml2 can't be loaded on Windows Rikard Pavelic <rikard.pavelic@zg.htnet.hr>
1 sibling, 1 reply; 12+ messages in thread
From: Craig Ringer @ 2012-08-08 11:30 UTC (permalink / raw)
To: rikard.pavelic@zg.htnet.hr; +Cc: pgsql-bugs
On 08/08/2012 06:24 PM, rikard.pavelic@zg.htnet.hr wrote:
> The following bug has been logged on the website:
>
> Bug reference: 7485
> Logged by: Rikard Pavelic
> Email address: rikard.pavelic@zg.htnet.hr
> PostgreSQL version: Unsupported/Unknown
> Operating system: Windows
> Description:
>
> This is still an issue as reported in
> http://archives.postgresql.org/pgsql-bugs/2012-05/msg00231.php
>
> While on topic of XML is there any workaround for this?
> CREATE TABLE data (id int, x xml);
> SELECT t FROM data t GROUP BY t;
>
> I'm not really sure what operator to create. I'm fine with xml being
> compared like text
Your report confuses me somewhat. You've linked to an issue that is
extremely specific to one particular PostgreSQL version without
providing the version you are using or details about your OS. You then
mention the need to create an operator, which seems to have nothing to
do with the problem you linked to.
Please follow up with:
- Your PostgreSQL version
- How you installed PostgeSQL (ie the EnterpriseDB installer, from
source, .zip install)
- The error message you are getting and the command(s) that cause it
- A description of the problem you are having
--
Craig Ringer
^ permalink raw reply [nested|flat] 12+ messages in thread
* Re: BUG #7485: 9.2 beta3 libxml2 can't be loaded on Windows
2012-08-08 10:24 BUG #7485: 9.2 beta3 libxml2 can't be loaded on Windows rikard.pavelic@zg.htnet.hr
2012-08-08 11:30 ` Re: BUG #7485: 9.2 beta3 libxml2 can't be loaded on Windows Craig Ringer <ringerc@ringerc.id.au>
@ 2012-08-14 15:42 ` Rikard Pavelic <rikard.pavelic@zg.htnet.hr>
2012-08-15 01:54 ` Re: BUG #7485: 9.2 beta3 libxml2 can't be loaded on Windows Craig Ringer <ringerc@ringerc.id.au>
0 siblings, 1 reply; 12+ messages in thread
From: Rikard Pavelic @ 2012-08-14 15:42 UTC (permalink / raw)
To: pgsql-bugs; +Cc: Craig Ringer <ringerc@ringerc.id.au>
On 8.8.2012. 13:30, Craig Ringer wrote:
> On 08/08/2012 06:24 PM, rikard.pavelic@zg.htnet.hr wrote:
>> The following bug has been logged on the website:
>>
>> Bug reference: 7485
>> Logged by: Rikard Pavelic
>> Email address: rikard.pavelic@zg.htnet.hr
>> PostgreSQL version: Unsupported/Unknown
>> Operating system: Windows
>> Description:
>>
>> This is still an issue as reported in
>> http://archives.postgresql.org/pgsql-bugs/2012-05/msg00231.php
>>
>> While on topic of XML is there any workaround for this?
>> CREATE TABLE data (id int, x xml);
>> SELECT t FROM data t GROUP BY t;
>>
>> I'm not really sure what operator to create. I'm fine with xml being
>> compared like text
> Your report confuses me somewhat. You've linked to an issue that is extremely specific to one particular PostgreSQL version without providing the version you are using or details about your OS. You
> then mention the need to create an operator, which seems to have nothing to do with the problem you linked to.
>
> Please follow up with:
>
> - Your PostgreSQL version
I've put it in the subject, because version selector didn't have it (9.2 beta3)
> - How you installed PostgeSQL (ie the EnterpriseDB installer, from source, .zip install)
I've used EnterpriseDB installer (9.2 beta2 with this bug, and now 9.2 beta3)
> - The error message you are getting and the command(s) that cause it
ERROR: could not set up XML error handler
SQL state: 0A000
Hint: This probably indicates that the version of libxml2 being used is not compatible with the libxml2 header files that PostgreSQL was built with.
I'm calling function with type that has an XML attribute.
I can provide a test case, but since this is just a warning of the old bug I didn't.
> - A description of the problem you are having
It doesn't work :D
The other question I asked should probably be a second bug report,
but I tried and failed to squeeze it into this one ;(
Regards,
Rikard
^ permalink raw reply [nested|flat] 12+ messages in thread
* Re: BUG #7485: 9.2 beta3 libxml2 can't be loaded on Windows
2012-08-08 10:24 BUG #7485: 9.2 beta3 libxml2 can't be loaded on Windows rikard.pavelic@zg.htnet.hr
2012-08-08 11:30 ` Re: BUG #7485: 9.2 beta3 libxml2 can't be loaded on Windows Craig Ringer <ringerc@ringerc.id.au>
2012-08-14 15:42 ` Re: BUG #7485: 9.2 beta3 libxml2 can't be loaded on Windows Rikard Pavelic <rikard.pavelic@zg.htnet.hr>
@ 2012-08-15 01:54 ` Craig Ringer <ringerc@ringerc.id.au>
2012-08-15 13:37 ` Re: BUG #7485: 9.2 beta3 libxml2 can't be loaded on Windows Rikard Pavelic <rikard.pavelic@zg.htnet.hr>
0 siblings, 1 reply; 12+ messages in thread
From: Craig Ringer @ 2012-08-15 01:54 UTC (permalink / raw)
To: Rikard Pavelic <rikard.pavelic@zg.htnet.hr>; +Cc: pgsql-bugs; Sachin Srivastava <sachin.srivastava@enterprisedb.com>; Dave Page <dpage@pgadmin.org>; Heikki Linnakangas <heikki.linnakangas@enterprisedb.com>
On 08/14/2012 11:42 PM, Rikard Pavelic wrote:
> On 8.8.2012. 13:30, Craig Ringer wrote:
>> On 08/08/2012 06:24 PM, rikard.pavelic@zg.htnet.hr wrote:
>>> The following bug has been logged on the website:
>>>
>>> Bug reference: 7485
>>> Logged by: Rikard Pavelic
>>> Email address: rikard.pavelic@zg.htnet.hr
>>> PostgreSQL version: 9.2 beta3
>>> Operating system: Windows
>>> Description:
>>>
>>> This is still an issue as reported in
>>> http://archives.postgresql.org/pgsql-bugs/2012-05/msg00231.php
>> - How you installed PostgeSQL (ie the EnterpriseDB installer, from source, .zip install)
> I've used EnterpriseDB installer (9.2 beta2 with this bug, and now 9.2 beta3)
>> - The error message you are getting and the command(s) that cause it
> ERROR: could not set up XML error handler
> SQL state: 0A000
> Hint: This probably indicates that the version of libxml2 being used is not compatible with the libxml2 header files that PostgreSQL was built with.
> I'm calling function with type that has an XML attribute.
> I can provide a test case, but since this is just a warning of the old bug I didn't.
OK, I get you.
Given the context of the old report this sounds like it could be an
installation/packaging issue. I'll ping the EDB folks.
Which Windows is it exactly? And did you use the 32-bit or 64-bit installer?
--
Craig Ringer
^ permalink raw reply [nested|flat] 12+ messages in thread
* Re: BUG #7485: 9.2 beta3 libxml2 can't be loaded on Windows
2012-08-08 10:24 BUG #7485: 9.2 beta3 libxml2 can't be loaded on Windows rikard.pavelic@zg.htnet.hr
2012-08-08 11:30 ` Re: BUG #7485: 9.2 beta3 libxml2 can't be loaded on Windows Craig Ringer <ringerc@ringerc.id.au>
2012-08-14 15:42 ` Re: BUG #7485: 9.2 beta3 libxml2 can't be loaded on Windows Rikard Pavelic <rikard.pavelic@zg.htnet.hr>
2012-08-15 01:54 ` Re: BUG #7485: 9.2 beta3 libxml2 can't be loaded on Windows Craig Ringer <ringerc@ringerc.id.au>
@ 2012-08-15 13:37 ` Rikard Pavelic <rikard.pavelic@zg.htnet.hr>
2012-08-15 13:43 ` Re: BUG #7485: 9.2 beta3 libxml2 can't be loaded on Windows Dave Page <dpage@pgadmin.org>
0 siblings, 1 reply; 12+ messages in thread
From: Rikard Pavelic @ 2012-08-15 13:37 UTC (permalink / raw)
To: Craig Ringer <ringerc@ringerc.id.au>; +Cc: pgsql-bugs; Sachin Srivastava <sachin.srivastava@enterprisedb.com>; Dave Page <dpage@pgadmin.org>; Heikki Linnakangas <heikki.linnakangas@enterprisedb.com>
On 15.8.2012. 3:54, Craig Ringer wrote:
> On 08/14/2012 11:42 PM, Rikard Pavelic wrote:
>> On 8.8.2012. 13:30, Craig Ringer wrote:
>>> On 08/08/2012 06:24 PM, rikard.pavelic@zg.htnet.hr wrote:
>>>> The following bug has been logged on the website:
>>>>
>>>> Bug reference: 7485
>>>> Logged by: Rikard Pavelic
>>>> Email address: rikard.pavelic@zg.htnet.hr
>>>> PostgreSQL version: 9.2 beta3
>>>> Operating system: Windows
>>>> Description:
>>>>
>>>> This is still an issue as reported in
>>>> http://archives.postgresql.org/pgsql-bugs/2012-05/msg00231.php
>
>>> - How you installed PostgeSQL (ie the EnterpriseDB installer, from source, .zip install)
>> I've used EnterpriseDB installer (9.2 beta2 with this bug, and now 9.2 beta3)
>
>>> - The error message you are getting and the command(s) that cause it
>> ERROR: could not set up XML error handler
>> SQL state: 0A000
>> Hint: This probably indicates that the version of libxml2 being used is not compatible with the libxml2 header files that PostgreSQL was built with.
>> I'm calling function with type that has an XML attribute.
>> I can provide a test case, but since this is just a warning of the old bug I didn't.
>
> OK, I get you.
>
> Given the context of the old report this sounds like it could be an installation/packaging issue. I'll ping the EDB folks.
>
> Which Windows is it exactly? And did you use the 32-bit or 64-bit installer?
>
> --
> Craig Ringer
>
Windows 7 64bit
PostgreSQL 9.2beta3, compiled by Visual C++ build 1600, 64-bit
^ permalink raw reply [nested|flat] 12+ messages in thread
* Re: BUG #7485: 9.2 beta3 libxml2 can't be loaded on Windows
2012-08-08 10:24 BUG #7485: 9.2 beta3 libxml2 can't be loaded on Windows rikard.pavelic@zg.htnet.hr
2012-08-08 11:30 ` Re: BUG #7485: 9.2 beta3 libxml2 can't be loaded on Windows Craig Ringer <ringerc@ringerc.id.au>
2012-08-14 15:42 ` Re: BUG #7485: 9.2 beta3 libxml2 can't be loaded on Windows Rikard Pavelic <rikard.pavelic@zg.htnet.hr>
2012-08-15 01:54 ` Re: BUG #7485: 9.2 beta3 libxml2 can't be loaded on Windows Craig Ringer <ringerc@ringerc.id.au>
2012-08-15 13:37 ` Re: BUG #7485: 9.2 beta3 libxml2 can't be loaded on Windows Rikard Pavelic <rikard.pavelic@zg.htnet.hr>
@ 2012-08-15 13:43 ` Dave Page <dpage@pgadmin.org>
2012-08-16 13:42 ` Re: BUG #7485: 9.2 beta3 libxml2 can't be loaded on Windows Dave Page <dpage@pgadmin.org>
0 siblings, 1 reply; 12+ messages in thread
From: Dave Page @ 2012-08-15 13:43 UTC (permalink / raw)
To: Rikard Pavelic <rikard.pavelic@zg.htnet.hr>; +Cc: Craig Ringer <ringerc@ringerc.id.au>; pgsql-bugs; Sachin Srivastava <sachin.srivastava@enterprisedb.com>; Heikki Linnakangas <heikki.linnakangas@enterprisedb.com>
On Wed, Aug 15, 2012 at 2:37 PM, Rikard Pavelic
<rikard.pavelic@zg.htnet.hr> wrote:
> On 15.8.2012. 3:54, Craig Ringer wrote:
>> On 08/14/2012 11:42 PM, Rikard Pavelic wrote:
>>> On 8.8.2012. 13:30, Craig Ringer wrote:
>>>> On 08/08/2012 06:24 PM, rikard.pavelic@zg.htnet.hr wrote:
>>>>> The following bug has been logged on the website:
>>>>>
>>>>> Bug reference: 7485
>>>>> Logged by: Rikard Pavelic
>>>>> Email address: rikard.pavelic@zg.htnet.hr
>>>>> PostgreSQL version: 9.2 beta3
>>>>> Operating system: Windows
>>>>> Description:
>>>>>
>>>>> This is still an issue as reported in
>>>>> http://archives.postgresql.org/pgsql-bugs/2012-05/msg00231.php
>>
>>>> - How you installed PostgeSQL (ie the EnterpriseDB installer, from source, .zip install)
>>> I've used EnterpriseDB installer (9.2 beta2 with this bug, and now 9.2 beta3)
>>
>>>> - The error message you are getting and the command(s) that cause it
>>> ERROR: could not set up XML error handler
>>> SQL state: 0A000
>>> Hint: This probably indicates that the version of libxml2 being used is not compatible with the libxml2 header files that PostgreSQL was built with.
>>> I'm calling function with type that has an XML attribute.
>>> I can provide a test case, but since this is just a warning of the old bug I didn't.
>>
>> OK, I get you.
>>
>> Given the context of the old report this sounds like it could be an installation/packaging issue. I'll ping the EDB folks.
>>
>> Which Windows is it exactly? And did you use the 32-bit or 64-bit installer?
>>
>> --
>> Craig Ringer
>>
> Windows 7 64bit
> PostgreSQL 9.2beta3, compiled by Visual C++ build 1600, 64-bit
>
This still seems to be an issue in the test beta4 installers rolled
this morning. I'm looking into it.
--
Dave Page
Blog: http://pgsnake.blogspot.com
Twitter: @pgsnake
EnterpriseDB UK: http://www.enterprisedb.com
The Enterprise PostgreSQL Company
^ permalink raw reply [nested|flat] 12+ messages in thread
* Re: BUG #7485: 9.2 beta3 libxml2 can't be loaded on Windows
2012-08-08 10:24 BUG #7485: 9.2 beta3 libxml2 can't be loaded on Windows rikard.pavelic@zg.htnet.hr
2012-08-08 11:30 ` Re: BUG #7485: 9.2 beta3 libxml2 can't be loaded on Windows Craig Ringer <ringerc@ringerc.id.au>
2012-08-14 15:42 ` Re: BUG #7485: 9.2 beta3 libxml2 can't be loaded on Windows Rikard Pavelic <rikard.pavelic@zg.htnet.hr>
2012-08-15 01:54 ` Re: BUG #7485: 9.2 beta3 libxml2 can't be loaded on Windows Craig Ringer <ringerc@ringerc.id.au>
2012-08-15 13:37 ` Re: BUG #7485: 9.2 beta3 libxml2 can't be loaded on Windows Rikard Pavelic <rikard.pavelic@zg.htnet.hr>
2012-08-15 13:43 ` Re: BUG #7485: 9.2 beta3 libxml2 can't be loaded on Windows Dave Page <dpage@pgadmin.org>
@ 2012-08-16 13:42 ` Dave Page <dpage@pgadmin.org>
2012-08-16 14:26 ` Re: BUG #7485: 9.2 beta3 libxml2 can't be loaded on Windows Tom Lane <tgl@sss.pgh.pa.us>
0 siblings, 1 reply; 12+ messages in thread
From: Dave Page @ 2012-08-16 13:42 UTC (permalink / raw)
To: Rikard Pavelic <rikard.pavelic@zg.htnet.hr>; +Cc: Craig Ringer <ringerc@ringerc.id.au>; pgsql-bugs; Sachin Srivastava <sachin.srivastava@enterprisedb.com>; Heikki Linnakangas <heikki.linnakangas@enterprisedb.com>
On Wed, Aug 15, 2012 at 2:43 PM, Dave Page <dpage@pgadmin.org> wrote:
> On Wed, Aug 15, 2012 at 2:37 PM, Rikard Pavelic
> <rikard.pavelic@zg.htnet.hr> wrote:
>> On 15.8.2012. 3:54, Craig Ringer wrote:
>>> On 08/14/2012 11:42 PM, Rikard Pavelic wrote:
>>>> On 8.8.2012. 13:30, Craig Ringer wrote:
>>>>> On 08/08/2012 06:24 PM, rikard.pavelic@zg.htnet.hr wrote:
>>>>>> The following bug has been logged on the website:
>>>>>>
>>>>>> Bug reference: 7485
>>>>>> Logged by: Rikard Pavelic
>>>>>> Email address: rikard.pavelic@zg.htnet.hr
>>>>>> PostgreSQL version: 9.2 beta3
>>>>>> Operating system: Windows
>>>>>> Description:
>>>>>>
>>>>>> This is still an issue as reported in
>>>>>> http://archives.postgresql.org/pgsql-bugs/2012-05/msg00231.php
>>>
>>>>> - How you installed PostgeSQL (ie the EnterpriseDB installer, from source, .zip install)
>>>> I've used EnterpriseDB installer (9.2 beta2 with this bug, and now 9.2 beta3)
>>>
>>>>> - The error message you are getting and the command(s) that cause it
>>>> ERROR: could not set up XML error handler
>>>> SQL state: 0A000
>>>> Hint: This probably indicates that the version of libxml2 being used is not compatible with the libxml2 header files that PostgreSQL was built with.
>>>> I'm calling function with type that has an XML attribute.
>>>> I can provide a test case, but since this is just a warning of the old bug I didn't.
>>>
>>> OK, I get you.
>>>
>>> Given the context of the old report this sounds like it could be an installation/packaging issue. I'll ping the EDB folks.
>>>
>>> Which Windows is it exactly? And did you use the 32-bit or 64-bit installer?
>>>
>>> --
>>> Craig Ringer
>>>
>> Windows 7 64bit
>> PostgreSQL 9.2beta3, compiled by Visual C++ build 1600, 64-bit
>>
>
> This still seems to be an issue in the test beta4 installers rolled
> this morning. I'm looking into it.
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
--
Dave Page
Blog: http://pgsnake.blogspot.com
Twitter: @pgsnake
EnterpriseDB UK: http://www.enterprisedb.com
The Enterprise PostgreSQL Company
^ permalink raw reply [nested|flat] 12+ messages in thread
* Re: BUG #7485: 9.2 beta3 libxml2 can't be loaded on Windows
2012-08-08 10:24 BUG #7485: 9.2 beta3 libxml2 can't be loaded on Windows rikard.pavelic@zg.htnet.hr
2012-08-08 11:30 ` Re: BUG #7485: 9.2 beta3 libxml2 can't be loaded on Windows Craig Ringer <ringerc@ringerc.id.au>
2012-08-14 15:42 ` Re: BUG #7485: 9.2 beta3 libxml2 can't be loaded on Windows Rikard Pavelic <rikard.pavelic@zg.htnet.hr>
2012-08-15 01:54 ` Re: BUG #7485: 9.2 beta3 libxml2 can't be loaded on Windows Craig Ringer <ringerc@ringerc.id.au>
2012-08-15 13:37 ` Re: BUG #7485: 9.2 beta3 libxml2 can't be loaded on Windows Rikard Pavelic <rikard.pavelic@zg.htnet.hr>
2012-08-15 13:43 ` Re: BUG #7485: 9.2 beta3 libxml2 can't be loaded on Windows Dave Page <dpage@pgadmin.org>
2012-08-16 13:42 ` Re: BUG #7485: 9.2 beta3 libxml2 can't be loaded on Windows Dave Page <dpage@pgadmin.org>
@ 2012-08-16 14:26 ` Tom Lane <tgl@sss.pgh.pa.us>
2012-08-16 14:28 ` Re: BUG #7485: 9.2 beta3 libxml2 can't be loaded on Windows Dave Page <dpage@pgadmin.org>
0 siblings, 1 reply; 12+ messages in thread
From: Tom Lane @ 2012-08-16 14:26 UTC (permalink / raw)
To: Dave Page <dpage@pgadmin.org>; +Cc: Rikard Pavelic <rikard.pavelic@zg.htnet.hr>; Craig Ringer <ringerc@ringerc.id.au>; pgsql-bugs; Sachin Srivastava <sachin.srivastava@enterprisedb.com>; Heikki Linnakangas <heikki.linnakangas@enterprisedb.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
^ permalink raw reply [nested|flat] 12+ messages in thread
* Re: BUG #7485: 9.2 beta3 libxml2 can't be loaded on Windows
2012-08-08 10:24 BUG #7485: 9.2 beta3 libxml2 can't be loaded on Windows rikard.pavelic@zg.htnet.hr
2012-08-08 11:30 ` Re: BUG #7485: 9.2 beta3 libxml2 can't be loaded on Windows Craig Ringer <ringerc@ringerc.id.au>
2012-08-14 15:42 ` Re: BUG #7485: 9.2 beta3 libxml2 can't be loaded on Windows Rikard Pavelic <rikard.pavelic@zg.htnet.hr>
2012-08-15 01:54 ` Re: BUG #7485: 9.2 beta3 libxml2 can't be loaded on Windows Craig Ringer <ringerc@ringerc.id.au>
2012-08-15 13:37 ` Re: BUG #7485: 9.2 beta3 libxml2 can't be loaded on Windows Rikard Pavelic <rikard.pavelic@zg.htnet.hr>
2012-08-15 13:43 ` Re: BUG #7485: 9.2 beta3 libxml2 can't be loaded on Windows Dave Page <dpage@pgadmin.org>
2012-08-16 13:42 ` Re: BUG #7485: 9.2 beta3 libxml2 can't be loaded on Windows Dave Page <dpage@pgadmin.org>
2012-08-16 14:26 ` Re: BUG #7485: 9.2 beta3 libxml2 can't be loaded on Windows Tom Lane <tgl@sss.pgh.pa.us>
@ 2012-08-16 14:28 ` Dave Page <dpage@pgadmin.org>
2012-08-16 14:29 ` Re: BUG #7485: 9.2 beta3 libxml2 can't be loaded on Windows Dave Page <dpage@pgadmin.org>
0 siblings, 1 reply; 12+ messages in thread
From: Dave Page @ 2012-08-16 14:28 UTC (permalink / raw)
To: Tom Lane <tgl@sss.pgh.pa.us>; +Cc: Rikard Pavelic <rikard.pavelic@zg.htnet.hr>; Craig Ringer <ringerc@ringerc.id.au>; pgsql-bugs; Sachin Srivastava <sachin.srivastava@enterprisedb.com>; Heikki Linnakangas <heikki.linnakangas@enterprisedb.com>
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
^ permalink raw reply [nested|flat] 12+ messages in thread
* Re: BUG #7485: 9.2 beta3 libxml2 can't be loaded on Windows
2012-08-08 10:24 BUG #7485: 9.2 beta3 libxml2 can't be loaded on Windows rikard.pavelic@zg.htnet.hr
2012-08-08 11:30 ` Re: BUG #7485: 9.2 beta3 libxml2 can't be loaded on Windows Craig Ringer <ringerc@ringerc.id.au>
2012-08-14 15:42 ` Re: BUG #7485: 9.2 beta3 libxml2 can't be loaded on Windows Rikard Pavelic <rikard.pavelic@zg.htnet.hr>
2012-08-15 01:54 ` Re: BUG #7485: 9.2 beta3 libxml2 can't be loaded on Windows Craig Ringer <ringerc@ringerc.id.au>
2012-08-15 13:37 ` Re: BUG #7485: 9.2 beta3 libxml2 can't be loaded on Windows Rikard Pavelic <rikard.pavelic@zg.htnet.hr>
2012-08-15 13:43 ` Re: BUG #7485: 9.2 beta3 libxml2 can't be loaded on Windows Dave Page <dpage@pgadmin.org>
2012-08-16 13:42 ` Re: BUG #7485: 9.2 beta3 libxml2 can't be loaded on Windows Dave Page <dpage@pgadmin.org>
2012-08-16 14:26 ` Re: BUG #7485: 9.2 beta3 libxml2 can't be loaded on Windows Tom Lane <tgl@sss.pgh.pa.us>
2012-08-16 14:28 ` Re: BUG #7485: 9.2 beta3 libxml2 can't be loaded on Windows Dave Page <dpage@pgadmin.org>
@ 2012-08-16 14:29 ` Dave Page <dpage@pgadmin.org>
2012-08-16 17:46 ` Re: BUG #7485: 9.2 beta3 libxml2 can't be loaded on Windows Tom Lane <tgl@sss.pgh.pa.us>
0 siblings, 1 reply; 12+ messages in thread
From: Dave Page @ 2012-08-16 14:29 UTC (permalink / raw)
To: Tom Lane <tgl@sss.pgh.pa.us>; +Cc: Rikard Pavelic <rikard.pavelic@zg.htnet.hr>; Craig Ringer <ringerc@ringerc.id.au>; pgsql-bugs; Sachin Srivastava <sachin.srivastava@enterprisedb.com>; Heikki Linnakangas <heikki.linnakangas@enterprisedb.com>
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:
>> 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.
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
^ permalink raw reply [nested|flat] 12+ messages in thread
* Re: BUG #7485: 9.2 beta3 libxml2 can't be loaded on Windows
2012-08-08 10:24 BUG #7485: 9.2 beta3 libxml2 can't be loaded on Windows rikard.pavelic@zg.htnet.hr
2012-08-08 11:30 ` Re: BUG #7485: 9.2 beta3 libxml2 can't be loaded on Windows Craig Ringer <ringerc@ringerc.id.au>
2012-08-14 15:42 ` Re: BUG #7485: 9.2 beta3 libxml2 can't be loaded on Windows Rikard Pavelic <rikard.pavelic@zg.htnet.hr>
2012-08-15 01:54 ` Re: BUG #7485: 9.2 beta3 libxml2 can't be loaded on Windows Craig Ringer <ringerc@ringerc.id.au>
2012-08-15 13:37 ` Re: BUG #7485: 9.2 beta3 libxml2 can't be loaded on Windows Rikard Pavelic <rikard.pavelic@zg.htnet.hr>
2012-08-15 13:43 ` Re: BUG #7485: 9.2 beta3 libxml2 can't be loaded on Windows Dave Page <dpage@pgadmin.org>
2012-08-16 13:42 ` Re: BUG #7485: 9.2 beta3 libxml2 can't be loaded on Windows Dave Page <dpage@pgadmin.org>
2012-08-16 14:26 ` Re: BUG #7485: 9.2 beta3 libxml2 can't be loaded on Windows Tom Lane <tgl@sss.pgh.pa.us>
2012-08-16 14:28 ` Re: BUG #7485: 9.2 beta3 libxml2 can't be loaded on Windows Dave Page <dpage@pgadmin.org>
2012-08-16 14:29 ` Re: BUG #7485: 9.2 beta3 libxml2 can't be loaded on Windows Dave Page <dpage@pgadmin.org>
@ 2012-08-16 17:46 ` Tom Lane <tgl@sss.pgh.pa.us>
0 siblings, 0 replies; 12+ messages in thread
From: Tom Lane @ 2012-08-16 17:46 UTC (permalink / raw)
To: Dave Page <dpage@pgadmin.org>; +Cc: Rikard Pavelic <rikard.pavelic@zg.htnet.hr>; Craig Ringer <ringerc@ringerc.id.au>; pgsql-bugs; Sachin Srivastava <sachin.srivastava@enterprisedb.com>; Heikki Linnakangas <heikki.linnakangas@enterprisedb.com>
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
^ permalink raw reply [nested|flat] 12+ messages in thread
* Re: BUG #7485: 9.2 beta3 libxml2 can't be loaded on Windows
2012-08-08 10:24 BUG #7485: 9.2 beta3 libxml2 can't be loaded on Windows rikard.pavelic@zg.htnet.hr
@ 2012-08-08 11:31 ` Craig Ringer <ringerc@ringerc.id.au>
1 sibling, 0 replies; 12+ messages in thread
From: Craig Ringer @ 2012-08-08 11:31 UTC (permalink / raw)
To: rikard.pavelic@zg.htnet.hr; +Cc: pgsql-bugs
Argh. Disregard the version comments in my post, I totally failed to
notice the version in the subject line.
--
Craig Ringer
^ permalink raw reply [nested|flat] 12+ messages in thread
end of thread, other threads:[~2012-08-16 17:46 UTC | newest]
Thread overview: 12+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2012-08-08 10:24 BUG #7485: 9.2 beta3 libxml2 can't be loaded on Windows rikard.pavelic@zg.htnet.hr
2012-08-08 11:30 ` Craig Ringer <ringerc@ringerc.id.au>
2012-08-14 15:42 ` Rikard Pavelic <rikard.pavelic@zg.htnet.hr>
2012-08-15 01:54 ` Craig Ringer <ringerc@ringerc.id.au>
2012-08-15 13:37 ` Rikard Pavelic <rikard.pavelic@zg.htnet.hr>
2012-08-15 13:43 ` Dave Page <dpage@pgadmin.org>
2012-08-16 13:42 ` Dave Page <dpage@pgadmin.org>
2012-08-16 14:26 ` Tom Lane <tgl@sss.pgh.pa.us>
2012-08-16 14:28 ` Dave Page <dpage@pgadmin.org>
2012-08-16 14:29 ` Dave Page <dpage@pgadmin.org>
2012-08-16 17:46 ` Tom Lane <tgl@sss.pgh.pa.us>
2012-08-08 11:31 ` Craig Ringer <ringerc@ringerc.id.au>
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