Re: add xml support function

Поиск
Список
Период
Сортировка
От fangfang liu
Тема Re: add xml support function
Дата
Msg-id 30acb4640912310804k6ca094a0t8d0dc761c9c490c7@mail.gmail.com
обсуждение исходный текст
Ответ на Re: add xml support function  (fangfang liu <yisuoyanyu888@gmail.com>)
Список 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 по дате отправления:

Предыдущее
От: Magnus Hagander
Дата:
Сообщение: uintptr_t for Datum
Следующее
От: Andrew Dunstan
Дата:
Сообщение: Re: PATCH: Add hstore_to_json()