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

From Pavel Stehule
Subject Re: [HACKERS] proposal - Default namespaces for XPath expressions(PostgreSQL 11)
Date
Msg-id CAFj8pRB7Fs_2DrtUTGhTmQb+KReXPH6SG62hGWO3KVL_eZYCaA@mail.gmail.com
Whole thread Raw
In response to Re: [HACKERS] proposal - Default namespaces for XPath expressions(PostgreSQL 11)  (Pavel Stehule <pavel.stehule@gmail.com>)
Responses Re: [HACKERS] proposal - Default namespaces for XPath expressions(PostgreSQL 11)
Re: [HACKERS] proposal - Default namespaces for XPath expressions(PostgreSQL 11)
List pgsql-hackers


2017-11-24 18:13 GMT+01:00 Pavel Stehule <pavel.stehule@gmail.com>:


2017-11-24 17:53 GMT+01:00 Pavel Stehule <pavel.stehule@gmail.com>:
Hi

2017-11-22 22:49 GMT+01:00 Thomas Munro <thomas.munro@enterprisedb.com>:
On Thu, Nov 9, 2017 at 10:11 PM, Pavel Stehule <pavel.stehule@gmail.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

pgsql-hackers by date:

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