]> 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:09 +0000 (15:31 -0500)
commit7ac0aff2b83e88edf5e7dcd4c4b425319d9537d6
tree612b36644342c4aa2c6138f153e248a37a4515cc
parent306b9918b2dd2fb93ea5a0fb62904a05c73fd87a
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