Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commita9aad1b

Browse files
committed
Document the behavior of STRICT VARIADIC functions.
1 parentbbdf72b commita9aad1b

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

‎doc/src/sgml/ref/create_function.sgml

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<!--
2-
$PostgreSQL: pgsql/doc/src/sgml/ref/create_function.sgml,v 1.88 2009/10/08 02:39:14 tgl Exp $
2+
$PostgreSQL: pgsql/doc/src/sgml/ref/create_function.sgml,v 1.89 2010/02/14 00:48:12 tgl Exp $
33
-->
44

55
<refentry id="SQL-CREATEFUNCTION">
@@ -585,6 +585,13 @@ CREATE FUNCTION foo(int, int default 42) ...
585585
existing calls of the function do not stop working when it is replaced.
586586
</para>
587587

588+
<para>
589+
If a function is declared <literal>STRICT</> with a <literal>VARIADIC</>
590+
argument, the strictness check tests that the variadic array <emphasis>as
591+
a whole</> is non-null. The function will still be called if the
592+
array has non-null elements.
593+
</para>
594+
588595
</refsect1>
589596

590597
<refsect1 id="sql-createfunction-examples">

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp