pgsql: Docs: clarify treatment of variadic functions with zero variadic

Поиск
Список
Период
Сортировка
От Tom Lane
Тема pgsql: Docs: clarify treatment of variadic functions with zero variadic
Дата
Msg-id E1Y2nAO-0003t6-3T@gemulon.postgresql.org
обсуждение исходный текст
Список pgsql-committers
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.

Branch
------
REL9_4_STABLE

Details
-------
http://git.postgresql.org/pg/commitdiff/7ac0aff2b83e88edf5e7dcd4c4b425319d9537d6

Modified Files
--------------
doc/src/sgml/xfunc.sgml |   14 ++++++++++++++
1 file changed, 14 insertions(+)


В списке pgsql-committers по дате отправления:

Предыдущее
От: Tom Lane
Дата:
Сообщение: pgsql: Docs: clarify treatment of variadic functions with zero variadic
Следующее
От: Tom Lane
Дата:
Сообщение: pgsql: Docs: clarify treatment of variadic functions with zero variadic