Document IS [NOT] OF, which was added in 7.3.
authorBruce Momjian
Tue, 20 Feb 2007 00:25:05 +0000 (00:25 +0000)
committerBruce Momjian
Tue, 20 Feb 2007 00:25:05 +0000 (00:25 +0000)
doc/src/sgml/func.sgml
doc/src/sgml/syntax.sgml

index 2f4e4d165d8436b682795cb72d4136c2f725d6ea..45b70621d7a75ac67f6cb5e4a16edaa25885ffb1 100644 (file)
@@ -1,4 +1,4 @@
-
+
 
  
   Functions and Operators
     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.
   
 
   
index ad702f6326395e84db7584069ceb6f0906a3d99a..a9bd06a03ee310f3e6fa027c84214d8140e4dba8 100644 (file)
@@ -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