File tree Expand file tree Collapse file tree 1 file changed +12
-1
lines changed Expand file tree Collapse file tree 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 $ -->
22
33 <chapter id="datatype">
44 <title>Data Types</title>
@@ -3985,6 +3985,17 @@ SET xmloption TO { DOCUMENT | CONTENT };
39853985 The default is <literal>CONTENT</literal>, so all forms of XML
39863986 data are allowed.
39873987 </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+
39883999 </sect2>
39894000
39904001 <sect2>
You can’t perform that action at this time.
0 commit comments