]> 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:30:57 +0000 (15:30 -0500)
commit699300a146c04e207a8fdec407538cdf5368fde5
treeb61a3e5c9085dd9bac9cefa20cda6f73961e63b4
parent2ef6c66a2b1ed288a5e4448989d4b85082d22736
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