Re: xPath in a database with LATIN1 encoding - Mailing list pgsql-admin

From Peter Eisentraut
Subject Re: xPath in a database with LATIN1 encoding
Date
Msg-id df64c5a9-ceb5-c248-a3b5-d764b6cc8159@enterprisedb.com
Whole thread Raw
In response to xPath in a database with LATIN1 encoding  (Jorge Silva <jorge.silva93@gmail.com>)
List pgsql-admin
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.



pgsql-admin by date:

Previous
From: imrankhan23
Date:
Subject: Re: Moving PG12 binaries
Next
From: Bruce Momjian
Date:
Subject: Re: TDE in postgres