Skip site navigation (1) Skip section navigation (2)

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 (view raw or flat)
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

pgsql-hackers by date

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

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group