pgsql: Docs: clarify treatment of variadic functions with zero variadic - Mailing list pgsql-committers

From Tom Lane
Subject pgsql: Docs: clarify treatment of variadic functions with zero variadic
Date
Msg-id E1Y2nAO-0003t6-3T@gemulon.postgresql.org
Whole thread Raw
List pgsql-committers
Docs: clarify treatment of variadic functions with zero variadic arguments.

Explain that you have to use "VARIADIC ARRAY[]" to pass an empty array
to a variadic parameter position.  This was already implicit in the text
but it seems better to spell it out.

Per a suggestion from David Johnston, though I didn't use his proposed
wording.  Back-patch to all supported branches.

Branch
------
REL9_4_STABLE

Details
-------
http://git.postgresql.org/pg/commitdiff/7ac0aff2b83e88edf5e7dcd4c4b425319d9537d6

Modified Files
--------------
doc/src/sgml/xfunc.sgml |   14 ++++++++++++++
1 file changed, 14 insertions(+)


pgsql-committers by date:

Previous
From: Tom Lane
Date:
Subject: pgsql: Docs: clarify treatment of variadic functions with zero variadic
Next
From: Tom Lane
Date:
Subject: pgsql: Docs: clarify treatment of variadic functions with zero variadic