diff options
| author | Bruce Momjian | 2018-04-02 20:41:46 +0000 |
|---|---|---|
| committer | Bruce Momjian | 2018-04-02 20:41:46 +0000 |
| commit | 6e9c8d5a2fedff5f33d0c820da69a65769f4ee39 (patch) | |
| tree | 503dc66a7d54ae015a34161ed656129dec05c468 /doc/src/sgml | |
| parent | 485857d447c96ac93d255c8c54a5b373a90af4e1 (diff) | |
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/sgml')
| -rw-r--r-- | doc/src/sgml/func.sgml | 18 |
1 files changed, 18 insertions, 0 deletions
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; </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> |
