Re: XML - DOCTYPE element - documentation suggestion - Mailing list pgsql-general

From Peter Eisentraut
Subject Re: XML - DOCTYPE element - documentation suggestion
Date
Msg-id 1277769904.27966.4.camel@vanquo.pezone.net
Whole thread Raw
In response to XML - DOCTYPE element - documentation suggestion  (Craig Ringer <craig@postnewspapers.com.au>)
List pgsql-general
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


pgsql-general by date:

Previous
From: Bruce Momjian
Date:
Subject: Re: The case of PostgreSQL on NFS Server
Next
From: Bruce Momjian
Date:
Subject: Re: Need Some Recent Information on the Differences between Postgres and MySql