Re: BUG #5434: select from xpath_table gives wrong results

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: "Oleg" <sacramento_fan(at)mail(dot)ru>
Cc: pgsql-bugs(at)postgresql(dot)org
Subject: Re: BUG #5434: select from xpath_table gives wrong results
Date: 2010-04-22 14:54:31
Message-ID: 860.1271948071@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

"Oleg" <sacramento_fan(at)mail(dot)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

In response to

Browse pgsql-bugs by date

  From Date Subject
Next Message Nick Bower 2010-04-23 11:03:25 BUG #5436: PostGIS 1.5.1 causing postmaster 8.3 crash on index creation
Previous Message Robert Haas 2010-04-22 14:40:23 Re: BUG #5434: select from xpath_table gives wrong results