BUG #7844: xpath missing entity decoding - bug or feature - Mailing list pgsql-bugs

From info@fduerr.de
Subject BUG #7844: xpath missing entity decoding - bug or feature
Date
Msg-id E1U1FKL-0002rD-RO@wrigleys.postgresql.org
Whole thread Raw
Responses Re: BUG #7844: xpath missing entity decoding - bug or feature  (Bruce Momjian <bruce@momjian.us>)
List pgsql-bugs
The following bug has been logged on the website:

Bug reference:      7844
Logged by:          fduerr
Email address:      info@fduerr.de
PostgreSQL version: 9.2.2
Operating system:   Debian
Description:        =


Up until 9.1

select (xpath('/z/text()', ('<z>' || 'AT&T' || '</z>')::xml))[1];

returned 'AT&T'
9.2 returns 'AT&T'

Is it a bug or a feature?
Is there a function to decode xml-entities?
Thanks for your great work, kind regards

pgsql-bugs by date:

Previous
From: QuiverNAY@gmail.com
Date:
Subject: BUG #7843: Incorrect using icacls
Next
From: Maciej Łopuszański
Date:
Subject: Re: BUG #7842: pg_dump scripts view to table