aboutsummaryrefslogtreecommitdiff
path: root/doc/src
diff options
context:
space:
mode:
authorBruce Momjian <bruce@momjian.us>2018-04-02 16:41:46 -0400
committerBruce Momjian <bruce@momjian.us>2018-04-02 16:41:46 -0400
commitefa04da6570577bddac7498c847efb25ba02930a (patch)
tree0a7961d0f2cbfd0ca710aeefbd7b49809c54f36f /doc/src
parentba0c65ab092280343a3461657fc08f6d2e98ca9d (diff)
downloadpostgresql-efa04da6570577bddac7498c847efb25ba02930a.tar.gz
postgresql-efa04da6570577bddac7498c847efb25ba02930a.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: 9.3
Diffstat (limited to 'doc/src')
-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 b73b82cc32d..03dff06b23d 100644
--- a/doc/src/sgml/func.sgml
+++ b/doc/src/sgml/func.sgml
@@ -9756,6 +9756,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>