From: Bruce Momjian Date: Mon, 2 Apr 2018 20:41:46 +0000 (-0400) Subject: doc: document "IS NOT DOCUMENT" X-Git-Tag: REL9_3_23~30 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=6e9c8d5a2fedff5f33d0c820da69a65769f4ee39;p=thirdparty%2Fpostgresql.git 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 --- diff --git a/doc/src/sgml/func.sgml b/doc/src/sgml/func.sgml index e54428d58d7..1a5429a6ea3 100644 --- a/doc/src/sgml/func.sgml +++ b/doc/src/sgml/func.sgml @@ -9499,6 +9499,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>