1
0
mirror of https://github.com/postgres/postgres.git synced 2025-04-22 23:02:54 +03:00

doc: document "IS NOT DOCUMENT"

Reported-by: scott.ure@caseware.com

Discussion: https://postgr.es/m/152056505045.4963.16783351661813640274@wrigleys.postgresql.org

Author: Euler Taveira

Backpatch-through: 10
This commit is contained in:
Bruce Momjian 2018-03-30 10:39:48 -04:00
parent 43d1ed60fd
commit 756dca8e7f

View File

@ -10399,6 +10399,24 @@ SELECT xmlagg(x) FROM (SELECT * FROM test ORDER BY y DESC) AS tab;
</para>
</sect3>
<sect3>
<title><literal>IS NOT DOCUMENT</literal></title>
<indexterm>
<primary>IS NOT DOCUMENT</primary>
</indexterm>
<synopsis>
<replaceable>xml</replaceable> IS NOT DOCUMENT
</synopsis>
<para>
The expression <literal>IS NOT DOCUMENT</literal> returns false if the
argument XML value is a proper XML document, true if it is not (that is,
it is a content fragment), or null if the argument is null.
</para>
</sect3>
<sect3 id="xml-exists">
<title><literal>XMLEXISTS</literal></title>