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
> thanks for Xquery info, I do
nothing else.
the first problem is , I have to make xmlquery accepted by the parser.
2009/12/31 Andrew Dunstan
>
>
> 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
>>
yes,whereever xmlconcat appears.
2009/12/31 Alvaro Herrera
> fangfang liu escribió:
>
> > IS_XMLQUERY is added in primenodes.h
> >
> > but the parser can not find xmlquery, the makeXmlExpr is not called at
> all.
>
> Did you add it to keywords.c et
you mean create and replace funtion xmlquery()?
maybe you are right, but I still want to know why parser does not find
xmlquery.
thanks.
2009/12/31 Peter Eisentraut
> On tor, 2009-12-31 at 19:22 +0800, fangfang liu wrote:
> > Actually, I expect the function looks like xmlquery(x
keXmlExpr(IS_XMLQUERY, NULL,
NIL,$3);
< }
8287d8282
<
9296d9290
< | XMLQUERY
IS_XMLQUERY is added in primenodes.h
but the parser can not find xmlquery, the makeXmlExpr is not called at all.
thanks
2009/12/31 Robert Haas
> On Thu, Dec 31, 2009 at 3:33 AM, fangfang liu
Hi - Does anyone know how to add a xml support function into postgresql?
I want to add a function named xmlquery into postgresql.
I modify gram.y by adding xmlquery relatedcode wherever other xml support
functions appear.
but the parser can not find xmlquery, the makeXmlExpr is not called at all.