aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBruce Momjian <bruce@momjian.us>2018-03-30 10:39:48 -0400
committerBruce Momjian <bruce@momjian.us>2018-03-30 10:39:48 -0400
commit756dca8e7f65edb479b7e94b024840011f07565c (patch)
tree84a22ed5eb81d98f643d49233c437e88d583cbfb
parent43d1ed60fdd96027f044e152176c0d45cd6bf443 (diff)
downloadpostgresql-756dca8e7f65edb479b7e94b024840011f07565c.tar.gz
postgresql-756dca8e7f65edb479b7e94b024840011f07565c.zip
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
-rw-r--r--doc/src/sgml/func.sgml18
1 files changed, 18 insertions, 0 deletions
diff --git a/doc/src/sgml/func.sgml b/doc/src/sgml/func.sgml
index a11f3abc822..5abb1c46fbb 100644
--- a/doc/src/sgml/func.sgml
+++ b/doc/src/sgml/func.sgml
@@ -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>