From: Tom Lane Date: Sun, 14 Feb 2010 00:48:20 +0000 (+0000) Subject: Document the behavior of STRICT VARIADIC functions. X-Git-Tag: REL8_4_3~43 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=9908950f1131283d27ac2d195d2607b7f5b36d61;p=postgresql Document the behavior of STRICT VARIADIC functions. --- diff --git a/doc/src/sgml/ref/create_function.sgml b/doc/src/sgml/ref/create_function.sgml index ce6141107a..a836d808c1 100644 --- a/doc/src/sgml/ref/create_function.sgml +++ b/doc/src/sgml/ref/create_function.sgml @@ -1,5 +1,5 @@ @@ -570,6 +570,13 @@ CREATE FUNCTION foo(int, int default 42) ... to replace it (this includes being a member of the owning role). + + 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. + +