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

From Robert Haas
Subject Re: add xml support function
Date
Msg-id 603c8f070912310035h74e5350ct7e51ec3b8b6d19e6@mail.gmail.com
Whole thread Raw
In response to add xml support function  (fangfang liu <yisuoyanyu888@gmail.com>)
Responses Re: add xml support function  (fangfang liu <yisuoyanyu888@gmail.com>)
List pgsql-hackers
On Thu, Dec 31, 2009 at 3:33 AM, fangfang liu <yisuoyanyu888@gmail.com> wrote:
> 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.

How about CREATE OR REPLACE FUNCTION xmlquery(...) ?

If that doesn't meet your needs, you'll need to explain what you're
trying to do - and probably provide a patch showing what you've tried
so far.

...Robert


pgsql-hackers by date:

Previous
From: fangfang liu
Date:
Subject: add xml support function
Next
From: Peter Eisentraut
Date:
Subject: Re: PATCH: Add hstore_to_json()