pgsql: Docs: clarify treatment of variadic functions with zero variadic

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Docs: clarify treatment of variadic functions with zero variadic
Date: 2014-12-21 20:31:52
Message-ID: E1Y2nAO-0003t8-3v@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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_3_STABLE

Details
-------
http://git.postgresql.org/pg/commitdiff/acbcb3262984d9a78021cfc8518a6b30c880312e

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

Browse pgsql-committers by date

  From Date Subject
Next Message Heikki Linnakangas 2014-12-22 10:07:34 pgsql: Use a pairing heap for the priority queue in kNN-GiST searches.
Previous Message Heikki Linnakangas 2014-12-21 19:58:38 pgsql: Fix file descriptor leak at end of recovery.