From: Bruce Momjian Date: Fri, 30 Mar 2018 14:39:48 +0000 (-0400) Subject: doc: document "IS NOT DOCUMENT" X-Git-Tag: REL_11_BETA1~424 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=756dca8e7f65edb479b7e94b024840011f07565c;p=postgresql 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 --- diff --git a/doc/src/sgml/func.sgml b/doc/src/sgml/func.sgml index a11f3abc82..5abb1c46fb 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; + + <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>