mirror of
https://git.postgresql.org/git/postgresql.git
synced 2025-01-12 18:34:36 +08:00
Add warning that xpath() doesn't work with non-UTF8 data.
This commit is contained in:
parent
746c28a8e4
commit
14180f9214
@ -1,4 +1,4 @@
|
|||||||
<!-- $PostgreSQL: pgsql/doc/src/sgml/datatype.sgml,v 1.237 2009/04/27 16:27:35 momjian Exp $ -->
|
<!-- $PostgreSQL: pgsql/doc/src/sgml/datatype.sgml,v 1.238 2009/06/10 20:25:41 tgl Exp $ -->
|
||||||
|
|
||||||
<chapter id="datatype">
|
<chapter id="datatype">
|
||||||
<title id="datatype-title">Data Types</title>
|
<title id="datatype-title">Data Types</title>
|
||||||
@ -3958,6 +3958,14 @@ SET xmloption TO { DOCUMENT | CONTENT };
|
|||||||
processed in UTF-8, computations will be most efficient if the
|
processed in UTF-8, computations will be most efficient if the
|
||||||
server encoding is also UTF-8.
|
server encoding is also UTF-8.
|
||||||
</para>
|
</para>
|
||||||
|
|
||||||
|
<caution>
|
||||||
|
<para>
|
||||||
|
Some XML-related functions may not work at all on non-ASCII data
|
||||||
|
when the server encoding is not UTF-8. This is known to be an
|
||||||
|
issue for <function>xpath()</> in particular.
|
||||||
|
</para>
|
||||||
|
</caution>
|
||||||
</sect2>
|
</sect2>
|
||||||
|
|
||||||
<sect2>
|
<sect2>
|
||||||
|
Loading…
Reference in New Issue
Block a user