On fre, 2010-06-18 at 02:43 +0800, Craig Ringer wrote:
> The xml datatype documentation should probably mention that whole
> documents must be loaded with an XMLPARSE(DOCUMENT 'doc_text_here),
> they
> cannot just be cast from text to xml as happens when you pass an xml
> document as text to a parameter during an INSERT. This should probably
> appear under "CREATING XML VALUES" in:
>
> http://www.postgresql.org/docs/current/static/datatype-xml.html
>
> ... and probably deserves mention in a new "CAVEATS" or "NOTES"
> section
> too, as it' *will* catch people out even if they R TFM.
Done