]> 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:19 +0000 (15:31 -0500)
commitee56e14bbb6f3593e79c1d7e22b02bbc6df4b500
tree1ce12d6a37b697dac03e15d602d3247440c568b2
parentb71e37c88354387819b53cf6580db861c89e8943
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