PostgreSQL Bugs

Collected from the PG bugs email list.

Bug ID16091
PG Version12.0
OSUbuntu Linux 18.04
Opened2019-10-30 16:58:33+00
Reported byYuri Cherio
StatusNew

Body of first available message related to this bug follows.

The following bug has been logged on the website:

Bug reference:      16091
Logged by:          Yuri Cherio
Email address:      (redacted)
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.

Messages

DateAuthorSubject
2019-10-30 16:58:33+00PG Bug reporting formBUG #16091: xpath fails to compute "name()", regression
2019-10-30 18:10:26+00Tom LaneRe: BUG #16091: xpath fails to compute "name()", regression
2019-10-30 20:08:46+00CherioRe: BUG #16091: xpath fails to compute "name()", regression