[COMMITTERS] pgsql: Add a utility function to extract variadic function arguments

Поиск
Список
Период
Сортировка
От Andrew Dunstan
Тема [COMMITTERS] pgsql: Add a utility function to extract variadic function arguments
Дата
Msg-id E1e7KjB-0001oX-9P@gemulon.postgresql.org
обсуждение исходный текст
Список pgsql-committers
Add a utility function to extract variadic function arguments

This is epecially useful in the case or "VARIADIC ANY" functions. The
caller can get the artguments and types regardless of whether or not and
explicit VARIADIC array argument has been used. The function also
provides an option to convert arguments on type "unknown" to to "text".

Michael Paquier and me, reviewed by Tom Lane.

Backpatch to 9.4 in order to support the following json bug fix.

Branch
------
REL9_4_STABLE

Details
-------
https://git.postgresql.org/pg/commitdiff/7f89fc418223d7bfe5cafd5b781a84332954f82a

Modified Files
--------------
src/backend/utils/fmgr/funcapi.c | 115 ++++++++++++++++++++++++++++++++++++++-
src/include/funcapi.h            |  23 ++++++++
2 files changed, 137 insertions(+), 1 deletion(-)


--
Sent via pgsql-committers mailing list (pgsql-committers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-committers

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

Предыдущее
От: Tom Lane
Дата:
Сообщение: [COMMITTERS] pgsql: In the planner,delete joinaliasvars lists after we're done with
Следующее
От: Andrew Dunstan
Дата:
Сообщение: [COMMITTERS] pgsql: Process variadic arguments consistently in json functions