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-0003tG-4P@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_0_STABLE

Details
-------
http://git.postgresql.org/pg/commitdiff/b27679a466592ae27690f6ed0a6ff3a09812dfd7

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
Следующее
От: Heikki Linnakangas
Дата:
Сообщение: pgsql: Use a pairing heap for the priority queue in kNN-GiST searches.