Add json_array_elements_text function.
Andrew Dunstan <andrew@dunslane.net>
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.
Files
| Path | Change | +/− |
|---|---|---|
| doc/src/sgml/func.sgml | modified | +21 −0 |
| src/backend/utils/adt/jsonfuncs.c | modified | +55 −12 |
| src/include/catalog/pg_proc.h | modified | +2 −0 |
| src/include/utils/json.h | modified | +1 −0 |
| src/test/regress/expected/json_1.out | modified | +30 −4 |
| src/test/regress/expected/json.out | modified | +30 −4 |
| src/test/regress/sql/json.sql | modified | +4 −2 |