From: | Ramanarayana <raam(dot)soft(at)gmail(dot)com> |
---|---|
To: | Pavel Stehule <pavel(dot)stehule(at)gmail(dot)com> |
Cc: | Markus Winand <markus(dot)winand(at)winand(dot)at>, PostgreSQL Hackers <pgsql-hackers(at)lists(dot)postgresql(dot)org>, Alvaro Herrera <alvherre(at)2ndquadrant(dot)com> |
Subject: | Re: XML/XPath issues: text/CDATA in XMLTABLE, XPath evaluated with wrong context |
Date: | 2019-02-28 09:49:31 |
Message-ID: | CAKm4Xs6Zwy63VYT5n0b8wa-6=XO-wWheQEtCA1eDJF4uMZ0iTQ@mail.gmail.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers |
Hi,
I applied the following patches
0001-XML-XPath-comments-processing-instructions-array-ind.patch
<https://www.postgresql.org/message-id/attachment/63467/0001-XML-XPath-comments-processing-instructions-array-ind.patch>
0002-XML-avoid-xmlStrdup-if-possible.patch
<https://www.postgresql.org/message-id/attachment/63468/0002-XML-avoid-xmlStrdup-if-possible.patch>
Can you let me know what fix is done in patch 002. I will test that as well?
Regards,
Ram.
On Thu, 28 Feb 2019 at 15:01, Pavel Stehule <pavel(dot)stehule(at)gmail(dot)com> wrote:
>
>
> čt 28. 2. 2019 v 9:58 odesílatel Ramanarayana <raam(dot)soft(at)gmail(dot)com>
> napsal:
>
>> Hi,
>>
>> I have tested the three issues fixed in patch 001. Array Indexes
>> issue is still there.Running the following query returns ERROR: more
>> than one value returned by column XPath expression
>>
>> SELECT xmltable.*
>> FROM (SELECT data FROM xmldata) x,
>> LATERAL XMLTABLE('/ROWS/ROW'
>> PASSING data
>> COLUMNS
>> country_name text PATH 'COUNTRY_NAME/text()' NOT NULL,
>> size_text float PATH 'SIZE/text()',
>> size_text_1 float PATH 'SIZE/text()[1]',
>> size_text_2 float PATH 'SIZE/text()[2]',
>> "SIZE" float, size_xml xml PATH 'SIZE')
>>
>> The other two issues are resolved by this patch.
>>
>
> what patches you are used?
>
> Regards
>
> Pavel
>
>
>> --
>> Cheers
>> Ram 4.0
>>
>
--
Cheers
Ram 4.0
From | Date | Subject | |
---|---|---|---|
Next Message | Pavel Stehule | 2019-02-28 10:04:50 | Re: XML/XPath issues: text/CDATA in XMLTABLE, XPath evaluated with wrong context |
Previous Message | Pavel Stehule | 2019-02-28 09:31:06 | Re: XML/XPath issues: text/CDATA in XMLTABLE, XPath evaluated with wrong context |