Re: add xml support function

From: Robert Haas <robertmhaas(at)gmail(dot)com>
To: fangfang liu <yisuoyanyu888(at)gmail(dot)com>
Cc: pgsql-hackers(at)postgresql(dot)org
Subject: Re: add xml support function
Date: 2009-12-31 08:35:55
Message-ID: 603c8f070912310035h74e5350ct7e51ec3b8b6d19e6@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Thu, Dec 31, 2009 at 3:33 AM, fangfang liu <yisuoyanyu888(at)gmail(dot)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

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Peter Eisentraut 2009-12-31 08:55:45 Re: PATCH: Add hstore_to_json()
Previous Message fangfang liu 2009-12-31 08:33:40 add xml support function