File tree 1 file changed +12
-1
lines changed
1 file changed +12
-1
lines changed Original file line number Diff line number Diff line change 1
- <!-- $PostgreSQL: pgsql/doc/src/sgml/datatype.sgml,v 1.248 2010/04/03 07:22:53 petere Exp $ -->
1
+ <!-- $PostgreSQL: pgsql/doc/src/sgml/datatype.sgml,v 1.249 2010/06/29 00:03:39 petere Exp $ -->
2
2
3
3
<chapter id="datatype">
4
4
<title>Data Types</title>
@@ -3985,6 +3985,17 @@ SET xmloption TO { DOCUMENT | CONTENT };
3985
3985
The default is <literal>CONTENT</literal>, so all forms of XML
3986
3986
data are allowed.
3987
3987
</para>
3988
+
3989
+ <note>
3990
+ <para>
3991
+ With the default XML option setting, you cannot directly cast
3992
+ character strings to type <type>xml</type> if they contain a
3993
+ document type declaration, because the definition of XML content
3994
+ fragment does not accept them. If you need to do that, either
3995
+ use <literal>XMLPARSE</literal> or change the XML option.
3996
+ </para>
3997
+ </note>
3998
+
3988
3999
</sect2>
3989
4000
3990
4001
<sect2>
You can’t perform that action at this time.
0 commit comments