diff options
author | Andrew Dunstan <andrew@dunslane.net> | 2014-01-29 15:39:01 -0500 |
---|---|---|
committer | Andrew Dunstan <andrew@dunslane.net> | 2014-01-29 15:39:01 -0500 |
commit | 5264d9154178d3aeaa0359b43a450298a7ce7281 (patch) | |
tree | f98aaa0c488b9e20e9e1621cbe74bc2e6f5f0aa1 /src/include/utils/json.h | |
parent | 699b1f40da3139def660235fa8a782ec8dd8f575 (diff) | |
download | postgresql-5264d9154178d3aeaa0359b43a450298a7ce7281.tar.gz postgresql-5264d9154178d3aeaa0359b43a450298a7ce7281.zip |
Add json_array_elements_text function.
This was a notable omission from the json functions added in 9.3 and
there have been numerous complaints about its absence.
Laurence Rowe.
Diffstat (limited to 'src/include/utils/json.h')
-rw-r--r-- | src/include/utils/json.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/include/utils/json.h b/src/include/utils/json.h index ed96a62f635..baf751e9991 100644 --- a/src/include/utils/json.h +++ b/src/include/utils/json.h @@ -58,6 +58,7 @@ extern Datum json_array_length(PG_FUNCTION_ARGS); extern Datum json_each(PG_FUNCTION_ARGS); extern Datum json_each_text(PG_FUNCTION_ARGS); extern Datum json_array_elements(PG_FUNCTION_ARGS); +extern Datum json_array_elements_text(PG_FUNCTION_ARGS); extern Datum json_populate_record(PG_FUNCTION_ARGS); extern Datum json_populate_recordset(PG_FUNCTION_ARGS); extern Datum json_to_record(PG_FUNCTION_ARGS); |