From: Peter Eisentraut <peter.eisentraut@enterprisedb.com>
To: Jorge Silva <jorge.silva93@gmail.com>
To: Pgsql-admin <pgsql-admin@lists.postgresql.org>
Subject: Re: xPath in a database with LATIN1 encoding
Date: Mon, 26 Apr 2021 15:44:11 +0200
Message-ID: <df64c5a9-ceb5-c248-a3b5-d764b6cc8159@enterprisedb.com> (raw)
In-Reply-To: <E8EDD295-7797-4EC7-9F60-96A9554CDEE6@gmail.com>
References: <E8EDD295-7797-4EC7-9F60-96A9554CDEE6@gmail.com>
On 24.04.21 17:20, Jorge Silva wrote:
> We have a database, which is encoded with LATIN1, and we are adding some
> tables in it to store xml files with the “xml” type. After creating the
> table and populating it, we use the xPath function to retrieve some data
> from the XML, but it seems to not work properly, because it returns:
As documented at
<https://www.postgresql.org/docs/devel/datatype-xml.html#id-1.5.7.21.7;,
xpath only works if the server encoding is UTF8.
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients using the --to and --cc options:
reply via email
To: pgsql-admin@postgresql.org
Cc: peter.eisentraut@enterprisedb.com, jorge.silva93@gmail.com, pgsql-admin@lists.postgresql.org
Subject: Re: xPath in a database with LATIN1 encoding
In-Reply-To: <df64c5a9-ceb5-c248-a3b5-d764b6cc8159@enterprisedb.com>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox