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

Re: patch: function xmltable

From: Pavel Stehule <pavel(dot)stehule(at)gmail(dot)com>
To: Alvaro Herrera <alvherre(at)2ndquadrant(dot)com>
Cc: Craig Ringer <craig(at)2ndquadrant(dot)com>, PostgreSQL Hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: patch: function xmltable
Date: 2016-11-24 23:33:14
Message-ID: CAFj8pRAf4wq-TCiu5vagF5Mc5DUGHdaeszoYM8dhr5Rv0EEsKw@mail.gmail.com (view raw, whole thread or download thread mbox)
Thread:
Lists: pgsql-hackers
2016-11-24 18:41 GMT+01:00 Alvaro Herrera <alvherre(at)2ndquadrant(dot)com>:

> Pavel Stehule wrote:
>
> > can me send your last work?
>
> Sure, it's in the archives --
> https://www.postgresql.org/message-id/20161123233130.
> oqf7jl6czehy5fiw(at)alvherre(dot)pgsql


Here is updated patch without default namespace support (and without XPath
expression transformation).

Due last changes in parser
https://github.com/postgres/postgres/commit/906bfcad7ba7cb3863fe0e2a7810be8e3cd84fbd
I had to use c_expr on other positions ( xmlnamespace definition).

I don't think it is limit - in 99% there will be const literal.

Regards

Pavel

>
>
> --
> Álvaro Herrera                https://www.2ndQuadrant.com/
> PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services
>

Attachment: xmltable-14.patch
Description: text/x-patch (167.0 KB)

In response to

Responses

pgsql-hackers by date

Next:From: Michael PaquierDate: 2016-11-24 23:36:14
Subject: Re: Random PGDLLIMPORTing
Previous:From: Pavel StehuleDate: 2016-11-24 23:20:44
Subject: Re: UNDO and in-place update

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