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:52:45 -0400
commit9cb28e98b818288b70f165d08ddd295b799466c2 (patch)
tree79ef37843aaa6da9ae58712de38a46c2a2409be3 /src/backend/utils/adt/jsonfuncs.c
parent7f89fc418223d7bfe5cafd5b781a84332954f82a (diff)
downloadpostgresql-9cb28e98b818288b70f165d08ddd295b799466c2.tar.gz
postgresql-9cb28e98b818288b70f165d08ddd295b799466c2.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