aboutsummaryrefslogtreecommitdiff
path: root/src/backend/utils/adt/jsonfuncs.c
diff options
context:
space:
mode:
authorAndrew Dunstan <andrew@dunslane.net>2017-10-25 07:34:00 -0400
committerAndrew Dunstan <andrew@dunslane.net>2017-10-25 07:34:00 -0400
commit18fc4ecf4afafe40bd7e7577bd611e5caf74c9fd (patch)
treedfbb1fcb93d17401d73aa2703dfbf0ccbcea9c58 /src/backend/utils/adt/jsonfuncs.c
parentf3c6e8a27a8f8436cada9a42e4f57338ed38c785 (diff)
downloadpostgresql-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