Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

Commit 14180f9

Browse files
committed
Add warning that xpath() doesn't work with non-UTF8 data.
1 parent 746c28a commit 14180f9

File tree

1 file changed

+9
-1
lines changed

1 file changed

+9
-1
lines changed

doc/src/sgml/datatype.sgml

+9-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
<!-- $PostgreSQL: pgsql/doc/src/sgml/datatype.sgml,v 1.237 2009/04/27 16:27:35 momjian Exp $ -->
1+
<!-- $PostgreSQL: pgsql/doc/src/sgml/datatype.sgml,v 1.238 2009/06/10 20:25:41 tgl Exp $ -->
22

33
<chapter id="datatype">
44
<title id="datatype-title">Data Types</title>
@@ -3958,6 +3958,14 @@ SET xmloption TO { DOCUMENT | CONTENT };
39583958
processed in UTF-8, computations will be most efficient if the
39593959
server encoding is also UTF-8.
39603960
</para>
3961+
3962+
<caution>
3963+
<para>
3964+
Some XML-related functions may not work at all on non-ASCII data
3965+
when the server encoding is not UTF-8. This is known to be an
3966+
issue for <function>xpath()</> in particular.
3967+
</para>
3968+
</caution>
39613969
</sect2>
39623970

39633971
<sect2>

0 commit comments

Comments
 (0)