Re: [PATCH] Add XMLText function (SQL/XML X038)

Jim Jones <jim.jones@uni-muenster.de>

From: Jim Jones <jim.jones@uni-muenster.de>
To: pgsql-hackers@lists.postgresql.org
Date: 2023-08-25T08:27:08Z
Lists: pgsql-hackers

Attachments

On 25.03.23 13:25, I wrote:
> I just realized that I forgot to add a few examples to my last message :D
>
> postgres=# SELECT xmltext('foo ´/[({bar?})]\`');
>       xmltext
> --------------------
>  foo ´/[({bar?})]\`
> (1 row)
>
> postgres=# SELECT xmltext('foo & <bar>');
>         xmltext
> -----------------------
>  foo &amp; &lt;bar&gt;
> (1 row)
>
It seems that an encoding issue appears in the regression tests on 
Debian + Meson, 32 bit.

´ > ´
° > °

v2 attached updates the regression tests to fix it.

Jim

Commits

  1. Add XMLText function (SQL/XML X038)