Re: BUG #5434: select from xpath_table gives wrong results - Mailing list pgsql-bugs

From Tom Lane
Subject Re: BUG #5434: select from xpath_table gives wrong results
Date
Msg-id 860.1271948071@sss.pgh.pa.us
Whole thread Raw
In response to BUG #5434: select from xpath_table gives wrong results  ("Oleg" <sacramento_fan@mail.ru>)
List pgsql-bugs
"Oleg" <sacramento_fan@mail.ru> writes:
> I was sure, that result of this query should be like this:

> obj_id | obj_name        | obj_master
> ----------------------------------------
>    1   |   First Object  |
>    2   |   Second Object |    1
>    3   |   Third Object  |
>    4   |   Fourth Object |    1

> But instead of I got this result:

> obj_id | obj_name        | obj_master
> ----------------------------------------
>    1   |   First Object  |    1
>    2   |   Second Object |    1
>    3   |   Third Object  |
>    4   |   Fourth Object |

Yeah, this is a known issue:
http://archives.postgresql.org/pgsql-hackers/2010-02/msg02424.php

It's not clear how to persuade libxml to do what we want here.

            regards, tom lane

pgsql-bugs by date:

Previous
From: Robert Haas
Date:
Subject: Re: BUG #5434: select from xpath_table gives wrong results
Next
From: "Nick Bower"
Date:
Subject: BUG #5436: PostGIS 1.5.1 causing postmaster 8.3 crash on index creation