]> granicus.if.org Git - postgresql/commit
Docs: clarify treatment of variadic functions with zero variadic arguments.
authorTom Lane <tgl@sss.pgh.pa.us>
Sun, 21 Dec 2014 20:30:39 +0000 (15:30 -0500)
committerTom Lane <tgl@sss.pgh.pa.us>
Sun, 21 Dec 2014 20:31:24 +0000 (15:31 -0500)
commit3c6fd1f84e97c5e0dfa70cea69abdfbcd2d76421
tree4d7e78187af48a0113dba6203419a17088dccc37
parent86b9424e8620093cd5568476eb98a9fe5134ca62
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.
doc/src/sgml/xfunc.sgml