Re: XQuery support

From: Andrew Dunstan <andrew(at)dunslane(dot)net>
To: Matthias Brantner <matthias(dot)brantner(at)28msec(dot)com>
Cc: Scott Bailey <artacus(at)comcast(dot)net>, Tatsuo Ishii <ishii(at)postgresql(dot)org>, pgsql-hackers(at)postgresql(dot)org
Subject: Re: XQuery support
Date: 2010-02-16 23:13:35
Message-ID: 4B7B269F.6090708@dunslane.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Matthias Brantner wrote:
>>> I know this has been discussed several times and it seems the
>>> conclusin was it's impossible if we would like to use existing XQuery
>>> external modules (some are by license reasons and some are by
>>> techinical reasons).
>>>
>>> So it seems the only way to support XQuery is, developing our own
>>> XQuery functionality from scratch. I'm wondering if other people reach
>>> the same conclusion as me, or is it a totaly impossible project?
>>>
>
>
>> Well xquilla on top of xerces should get us pretty much were we need to go. They are both under the Apache 2 license, which I believe would be ok. But they are C++ so I don't know if we could use them.
>> I found Zorba, its C++ and Apache 2. But I don't know much about it. But it looks promising.
>> http://www.zorba-xquery.com/
>>
> Sounds like a great project. Please, let us know (zorba-users(at)lists(dot)sourceforge(dot)net) if you need any help or have questions with regard to plugging Zorba to PostGreSQL. We would love to see this happen and help.
>
>
>

Well, maybe you can answer the questions I had last time I looked at it,
namely:

> XQuery is a whole other question. Adding another library dependency is
> something we try to avoid. Zorba <http://www.zorba-xquery.com/> might
> work, but it appears to have its own impressive list of dependencies
> (why does it require both libxml2 and xerces-c? That looks a bit
> redundant.)
>
> Even if we did implement XMLTABLE, I think I'd probably be inclined to
> start by limiting it to plain XPath, without the FLWOR stuff. I think
> that would satisfy the vast majority of needs, although you might feel
> differently. (Do a Google for XMLTABLE - every example I found uses
> plain XPath expressions.)

A much more urgent need we have, IMNSHO, than for XQuery, is for XSLT
support that actually works. But maybe that's just me.

cheers

andrew

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Josh Berkus 2010-02-16 23:38:42 Re: OpenVMS?
Previous Message Chris Browne 2010-02-16 23:13:08 Re: LISTEN/NOTIFY and notification timing guarantees