Re: BUG #14454: xmlelement doesn't support encoding - Mailing list pgsql-bugs

From Pavel Stehule
Subject Re: BUG #14454: xmlelement doesn't support encoding
Date
Msg-id CAFj8pRDvveU3uEHp9kZ3X0xOS9zqQDNXChwDcoNtSmvPzXAr5A@mail.gmail.com
Whole thread Raw
In response to BUG #14454: xmlelement doesn't support encoding  (xammett@gmail.com)
List pgsql-bugs
Hi

2016-12-07 16:27 GMT+01:00 <xammett@gmail.com>:

> The following bug has been logged on the website:
>
> Bug reference:      14454
> Logged by:          Vyacheslav Blinov
> Email address:      xammett@gmail.com
> PostgreSQL version: 9.6.1
> Operating system:   ubuntu
> Description:
>
> if you try to execute this code - you are return something strange
> symbols.
> this is a bug. please,fix it.
> SELECT xmlelement(name foo, xmlattributes( '=D1=84=D1=8B=D0=B2'as a));
>

This is not a bug. The libxml2 - the base for XML support in Postgres - use
html encoding for attribute values


I read one FAQ where this issue was described, but I cannot to find now

Regards

Pavel Stehule



>
>
> --
> Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org)
> To make changes to your subscription:
> http://www.postgresql.org/mailpref/pgsql-bugs
>

pgsql-bugs by date:

Previous
From: xammett@gmail.com
Date:
Subject: BUG #14454: xmlelement doesn't support encoding
Next
From: kzheng1@gmail.com
Date:
Subject: BUG #14455: pg_upgrade fails with error