Skip to content

Commit b71741b

Browse files
committed
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: 9.3
1 parent b7537ff commit b71741b

File tree

1 file changed

+18
-0
lines changed

1 file changed

+18
-0
lines changed

doc/src/sgml/func.sgml

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9712,6 +9712,24 @@ SELECT xmlagg(x) FROM (SELECT * FROM test ORDER BY y DESC) AS tab;
97129712
</para>
97139713
</sect3>
97149714

9715+
<sect3>
9716+
<title><literal>IS NOT DOCUMENT</literal></title>
9717+
9718+
<indexterm>
9719+
<primary>IS NOT DOCUMENT</primary>
9720+
</indexterm>
9721+
9722+
<synopsis>
9723+
<replaceable>xml</replaceable> IS NOT DOCUMENT
9724+
</synopsis>
9725+
9726+
<para>
9727+
The expression <literal>IS NOT DOCUMENT</literal> returns false if the
9728+
argument XML value is a proper XML document, true if it is not (that is,
9729+
it is a content fragment), or null if the argument is null.
9730+
</para>
9731+
</sect3>
9732+
97159733
<sect3 id="xml-exists">
97169734
<title><literal>XMLEXISTS</literal></title>
97179735

0 commit comments

Comments
 (0)