From 9908950f1131283d27ac2d195d2607b7f5b36d61 Mon Sep 17 00:00:00 2001 From: Tom Lane Date: Sun, 14 Feb 2010 00:48:20 +0000 Subject: [PATCH] Document the behavior of STRICT VARIADIC functions. --- doc/src/sgml/ref/create_function.sgml | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) 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. + + -- 2.50.1