Re: add xml support function

From: fangfang liu <yisuoyanyu888(at)gmail(dot)com>
To:
Cc: pgsql-hackers(at)postgresql(dot)org
Subject: Re: add xml support function
Date: 2009-12-31 16:04:23
Message-ID: 30acb4640912310804k6ca094a0t8d0dc761c9c490c7@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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(at)gmail(dot)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(at)dunslane(dot)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
>>
>
>

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Andrew Dunstan 2009-12-31 16:12:54 Re: PATCH: Add hstore_to_json()
Previous Message Magnus Hagander 2009-12-31 16:03:37 uintptr_t for Datum