Re: [HACKERS] proposal - Default namespaces for XPath expressions (PostgreSQL 11)

From: Pavel Stehule <pavel(dot)stehule(at)gmail(dot)com>
To: Thomas Munro <thomas(dot)munro(at)enterprisedb(dot)com>
Cc: Kyotaro HORIGUCHI <horiguchi(dot)kyotaro(at)lab(dot)ntt(dot)co(dot)jp>, PostgreSQL Hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: [HACKERS] proposal - Default namespaces for XPath expressions (PostgreSQL 11)
Date: 2017-11-24 17:32:43
Message-ID: CAFj8pRB7Fs_2DrtUTGhTmQb+KReXPH6SG62hGWO3KVL_eZYCaA@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

2017-11-24 18:13 GMT+01:00 Pavel Stehule <pavel(dot)stehule(at)gmail(dot)com>:

>
>
> 2017-11-24 17:53 GMT+01:00 Pavel Stehule <pavel(dot)stehule(at)gmail(dot)com>:
>
>> Hi
>>
>> 2017-11-22 22:49 GMT+01:00 Thomas Munro <thomas(dot)munro(at)enterprisedb(dot)com>:
>>
>>> On Thu, Nov 9, 2017 at 10:11 PM, Pavel Stehule <pavel(dot)stehule(at)gmail(dot)com>
>>> wrote:
>>> > Attached new version.
>>>
>>> Hi Pavel,
>>>
>>> FYI my patch testing robot says[1]:
>>>
>>> xml ... FAILED
>>>
>>> regression.diffs says:
>>>
>>> + SELECT x.* FROM t1, xmltable(XMLNAMESPACES(DEFAULT 'http://x.y'),
>>> '/rows/row' PASSING t1.doc COLUMNS data int PATH
>>> 'child::a[1][attribute::hoge="haha"]') as x;
>>> + data
>>> + ------
>>> + (0 rows)
>>> +
>>>
>>> Maybe you forgot to git-add the expected file?
>>>
>>> [1] https://travis-ci.org/postgresql-cfbot/postgresql/builds/305979133
>>
>>
>> unfortunately xml.out has 3 versions and is possible so one version
>> should be taken elsewhere than my comp.
>>
>> please can me send your result xml.out file?
>>
>
> looks like this case is without xml support so I can fix on my comp.
>
>
fixed regress test

>
>> Regards
>>
>> Pavel
>>
>>
>>>
>>> --
>>> Thomas Munro
>>> http://www.enterprisedb.com
>>>
>>
>>
>

Attachment Content-Type Size
xml-xpath-default-ns-6.patch text/x-patch 29.1 KB

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Craig Ringer 2017-11-24 23:42:30 Re: Add RANGE with values and exclusions clauses to the Window Functions
Previous Message Pavel Stehule 2017-11-24 17:13:27 Re: [HACKERS] proposal - Default namespaces for XPath expressions (PostgreSQL 11)