Document the behavior of STRICT VARIADIC functions.
authorTom Lane
Sun, 14 Feb 2010 00:48:12 +0000 (00:48 +0000)
committerTom Lane
Sun, 14 Feb 2010 00:48:12 +0000 (00:48 +0000)
doc/src/sgml/ref/create_function.sgml

index 6d7eb84d8f26e434d7fd2eb4649903ee57d6de21..41dc4365ce7dc7d17add65bfa8530f65be2eaf8d 100644 (file)
@@ -1,5 +1,5 @@
 
 
 
@@ -585,6 +585,13 @@ CREATE FUNCTION foo(int, int default 42) ...
     existing calls of the function do not stop working when it is replaced.
    
 
+   
+    If a function is declared STRICT with a VARIADIC
+    argument, the strictness check tests that the variadic array as
+    a whole is non-null.  The function will still be called if the
+    array has non-null elements.
+   
+