Re: add xml support function - Mailing list pgsql-hackers

From fangfang liu
Subject Re: add xml support function
Date
Msg-id 30acb4640912310804k6ca094a0t8d0dc761c9c490c7@mail.gmail.com
Whole thread Raw
In response to Re: add xml support function  (fangfang liu <yisuoyanyu888@gmail.com>)
List pgsql-hackers
Sorry,guys, my mistakes, the keywords list should be sorted , and I just append xmlquery at the end of keyword list , that is why parser does not call makexmlexpr.Instead, the parser try to find a function to match xmlquery and faild.

2009/12/31 fangfang liu <yisuoyanyu888@gmail.com>
thanks for Xquery info, I do not start to implenment the xmlquery() itself , maybe call xqilla lib or sth else in the future.
I think xmltable is almost equal to xmlquery , except that it retuns talbeset insead of xml.
 
I take xmlconcat as an example , add xmlquery whereever xmlconcat appers and nothing else.
the first problem is ,  I have to make xmlquery accepted by the parser.

2009/12/31 Andrew Dunstan <andrew@dunslane.net>



fangfang liu wrote:
you mean create and replace funtion xmlquery()?
maybe you are right, but I still want to know why parser does not find xmlquery.
 


We would have to see your code to know why it didn't do what you expect.

What exactly are you intending that this function would do anyway? If you're looking at XQuery support, there are serious issues regarding what library to use, see <http://archives.postgresql.org/pgsql-hackers/2009-11/msg01445.php>

cheers

andrew


pgsql-hackers by date:

Previous
From: Magnus Hagander
Date:
Subject: uintptr_t for Datum
Next
From: Andrew Dunstan
Date:
Subject: Re: PATCH: Add hstore_to_json()