diff options
author | Andrew Dunstan <andrew@dunslane.net> | 2017-10-25 07:13:11 -0400 |
---|---|---|
committer | Andrew Dunstan <andrew@dunslane.net> | 2017-10-25 07:13:11 -0400 |
commit | f3c6e8a27a8f8436cada9a42e4f57338ed38c785 (patch) | |
tree | e68209215dd2404bfa56f487d632f8ee573329c4 /src/backend/utils/adt/json.c | |
parent | 896eb5efbdcea5df12e7a464ae9c23dd1e25abd2 (diff) | |
download | postgresql-f3c6e8a27a8f8436cada9a42e4f57338ed38c785.tar.gz postgresql-f3c6e8a27a8f8436cada9a42e4f57338ed38c785.zip |
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.
Diffstat (limited to 'src/backend/utils/adt/json.c')
0 files changed, 0 insertions, 0 deletions