diff --git a/doc/src/sgml/func.sgml b/doc/src/sgml/func.sgml index 2f4e4d165d8436b682795cb72d4136c2f725d6ea..45b70621d7a75ac67f6cb5e4a16edaa25885ffb1 100644 --- a/doc/src/sgml/func.sgml +++ b/doc/src/sgml/func.sgml @@ -1,4 +1,4 @@ - + Functions and Operators @@ -411,6 +411,22 @@ IS NOT NULL, respectively, except that the input expression must be of Boolean type. + + + + IS OF + + + IS NOT OF + + It is possible to check the data type of an expression using the + constructs + +expression IS OF (typename, ...) +expression IS NOT OF (typename, ...) + + They return a boolean value based on whether the expression's data + type is one of the listed data types. diff --git a/doc/src/sgml/syntax.sgml b/doc/src/sgml/syntax.sgml index ad702f6326395e84db7584069ceb6f0906a3d99a..a9bd06a03ee310f3e6fa027c84214d8140e4dba8 100644 --- a/doc/src/sgml/syntax.sgml +++ b/doc/src/sgml/syntax.sgml @@ -1,4 +1,4 @@ - + SQL Syntax @@ -847,7 +847,8 @@ SELECT (5 !) - 6; IS - IS TRUE, IS FALSE, IS UNKNOWN, IS NULL + IS TRUE, IS FALSE, IS + UNKNOWN, IS NULL, IS OF