doc: document "IS NOT DOCUMENT"
authorBruce Momjian
Fri, 30 Mar 2018 14:39:48 +0000 (10:39 -0400)
committerBruce Momjian
Fri, 30 Mar 2018 14:39:48 +0000 (10:39 -0400)
Reported-by: [email protected]
Discussion: https://postgr.es/m/152056505045.4963.16783351661813640274@wrigleys.postgresql.org

Author: Euler Taveira

Backpatch-through: 10

doc/src/sgml/func.sgml

index 887a7cb764ae2ac83eadc6e98f14cacfde3a995f..21d22869e84f607913ec0899afa4b7cc93c92753 100644 (file)
@@ -10310,6 +10310,24 @@ SELECT xmlagg(x) FROM (SELECT * FROM test ORDER BY y DESC) AS tab;
     
    
 
+   
+    <literal>IS NOT DOCUMENT</literal>
+
+    
+     IS NOT DOCUMENT
+    
+
+
+xml IS NOT DOCUMENT
+
+
+    
+     The expression IS NOT DOCUMENT 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.
+    
+   
+
    
     <literal>XMLEXISTS</literal>