diff options
author | Andrew Dunstan <andrew@dunslane.net> | 2017-10-25 07:34:00 -0400 |
---|---|---|
committer | Andrew Dunstan <andrew@dunslane.net> | 2017-10-25 07:34:00 -0400 |
commit | 18fc4ecf4afafe40bd7e7577bd611e5caf74c9fd (patch) | |
tree | dfbb1fcb93d17401d73aa2703dfbf0ccbcea9c58 /src/backend/utils/adt/jsonfuncs.c | |
parent | f3c6e8a27a8f8436cada9a42e4f57338ed38c785 (diff) | |
download | postgresql-18fc4ecf4afafe40bd7e7577bd611e5caf74c9fd.tar.gz postgresql-18fc4ecf4afafe40bd7e7577bd611e5caf74c9fd.zip |
Process variadic arguments consistently in json functions
json_build_object and json_build_array and the jsonb equivalents did not
correctly process explicit VARIADIC arguments. They are modified to use
the new extract_variadic_args() utility function which abstracts away
the details of the call method.
Michael Paquier, reviewed by Tom Lane and Dmitry Dolgov.
Backpatch to 9.5 for the jsonb fixes and 9.4 for the json fixes, as
that's where they originated.
Diffstat (limited to 'src/backend/utils/adt/jsonfuncs.c')
0 files changed, 0 insertions, 0 deletions