Add jsonb_insert
Teodor Sigaev <teodor@sigaev.ru>
Add jsonb_insert It inserts a new value into an jsonb array at arbitrary position or a new key to jsonb object. Author: Dmitry Dolgov Reviewers: Petr Jelinek, Vitaly Burovoy, Andrew Dunstan
Files
| Path | Change | +/− |
|---|---|---|
| doc/src/sgml/func.sgml | modified | +41 −4 |
| src/backend/catalog/system_views.sql | modified | +8 −0 |
| src/backend/utils/adt/jsonfuncs.c | modified | +110 −24 |
| src/include/catalog/catversion.h | modified | +1 −1 |
| src/include/catalog/pg_proc.h | modified | +2 −0 |
| src/include/utils/jsonb.h | modified | +3 −0 |
| src/test/regress/expected/jsonb.out | modified | +129 −0 |
| src/test/regress/sql/jsonb.sql | modified | +30 −0 |