Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/backend/utils/adt/json.c
Original file line number Diff line number Diff line change
Expand Up @@ -1102,7 +1102,7 @@ json_build_array_noargs(PG_FUNCTION_ARGS)
* for a json object.
*/
Datum
json_object(PG_FUNCTION_ARGS)
pg_json_object(PG_FUNCTION_ARGS)
{
ArrayType *in_array = PG_GETARG_ARRAYTYPE_P(0);
int ndims = ARR_NDIM(in_array);
Expand Down
2 changes: 1 addition & 1 deletion src/include/catalog/pg_proc.dat
Original file line number Diff line number Diff line change
Expand Up @@ -8770,7 +8770,7 @@
prosrc => 'json_build_object_noargs' },
{ oid => '3202', descr => 'map text array of key value pairs to json object',
proname => 'json_object', prorettype => 'json', proargtypes => '_text',
prosrc => 'json_object' },
prosrc => 'pg_json_object' },
{ oid => '3203', descr => 'map text arrays of keys and values to json object',
proname => 'json_object', prorettype => 'json', proargtypes => '_text _text',
prosrc => 'json_object_two_arg' },
Expand Down