BUG #16091: xpath fails to compute "name()", regression - Mailing list pgsql-bugs

From PG Bug reporting form
Subject BUG #16091: xpath fails to compute "name()", regression
Date
Msg-id 16091-a4296887079c549f@postgresql.org
Whole thread Raw
Responses Re: BUG #16091: xpath fails to compute "name()", regression
List pgsql-bugs
The following bug has been logged on the website:

Bug reference:      16091
Logged by:          Yuri Cherio
Email address:      cherio@gmail.com
PostgreSQL version: 12.0
Operating system:   Ubuntu Linux 18.04
Description:

After upgrading postgresql from 9 to 12 the following statement no longer
produces the same result: SELECT xpath('name()', '<abc>xyz</abc>'::XML)

PostgreSQL 9 returns '{abc}'
PostgreSQL 12 returns '{""}'

This behavior changed in version 11 and perpetuated into 12.


pgsql-bugs by date:

Previous
From: Stepan Yankevych
Date:
Subject: RE: BUG #16089: Index only scan does not happen but expected
Next
From: Tom Lane
Date:
Subject: Re: BUG #16091: xpath fails to compute "name()", regression