dbTalk Databases Forums  

[BUGS] BUG #2751: contrib\pgxml.sql

mailing.database.pgsql-bugs mailing.database.pgsql-bugs


Discuss [BUGS] BUG #2751: contrib\pgxml.sql in the mailing.database.pgsql-bugs forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Dennis
 
Posts: n/a

Default [BUGS] BUG #2751: contrib\pgxml.sql - 11-10-2006 , 09:09 AM







The following bug has been logged online:

Bug reference: 2751
Logged by: Dennis
Email address: aiwa_azca (AT) yahoo (DOT) com
PostgreSQL version: 8.1.5
Operating system: Gentoo 2006.1 server x86
Description: contrib\pgxml.sql
Details:

contrib\pgxml.sql has reference to xml_is_well_formed function. Now, libxml2
library under linux does not have support for this function and if I try to
add xml support to PG server under linux by running the SQL script in binary
distribution (say Windows) I get an error such as:

ERROR: could not find function "xml_is_well_formed" in file
"/usr/lib/postgresql/pgxml.so"
SQL state: 42883

However, the source code (postgresql-8.1.5.tar.bz2) has correct
contrib\pgxml.sql and does not reference "xml_is_well_formed" function. This
has caused me many hours of grief; to help other people,
"xml_is_well_formed" either needs to be removed or something else has to be
done.

Thank you.

---------------------------(end of broadcast)---------------------------
TIP 1: if posting/reading through Usenet, please send an appropriate
subscribe-nomail command to majordomo (AT) postgresql (DOT) org so that your
message can get through to the mailing list cleanly

Reply With Quote
  #2  
Old   
Tom Lane
 
Posts: n/a

Default Re: [BUGS] BUG #2751: contrib\pgxml.sql - 11-10-2006 , 09:45 AM






"Dennis" <aiwa_azca (AT) yahoo (DOT) com> writes:
Quote:
PostgreSQL version: 8.1.5

contrib\pgxml.sql has reference to xml_is_well_formed function.
Not in 8.1 there isn't. Sounds like you are trying to use an 8.2 beta
sql script with an 8.1 library.

regards, tom lane

---------------------------(end of broadcast)---------------------------
TIP 1: if posting/reading through Usenet, please send an appropriate
subscribe-nomail command to majordomo (AT) postgresql (DOT) org so that your
message can get through to the mailing list cleanly


Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.