]> 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:29 +0000 (15:31 -0500)
commitb27679a466592ae27690f6ed0a6ff3a09812dfd7
tree010ccb7cdc356bed35060f264b6772bf0321408c
parentfce3a719839e5e283c819a552ef81d3f684672e4
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