aboutsummaryrefslogtreecommitdiff
path: root/src/backend/lib/stringinfo.c
diff options
context:
space:
mode:
authorAndrew Dunstan <andrew@dunslane.net>2017-04-06 22:11:21 -0400
committerAndrew Dunstan <andrew@dunslane.net>2017-04-06 22:22:13 -0400
commitcf35346e813e5a1373f308d397bb0a8f3f21d530 (patch)
tree8eb3d30d8218ae21aef5c146d4e6a04a6d52004a /src/backend/lib/stringinfo.c
parent510074f9f0131a04322d6a3d2a51c87e6db243f9 (diff)
downloadpostgresql-cf35346e813e5a1373f308d397bb0a8f3f21d530.tar.gz
postgresql-cf35346e813e5a1373f308d397bb0a8f3f21d530.zip
Make json_populate_record and friends operate recursively
With this change array fields are populated from json(b) arrays, and composite fields are populated from json(b) objects. Along the way, some significant code refactoring is done to remove redundancy in the way to populate_record[_set] and to_record[_set] functions operate, and some significant efficiency gains are made by caching tuple descriptors. Nikita Glukhov, edited some by me. Reviewed by Aleksander Alekseev and Tom Lane.
Diffstat (limited to 'src/backend/lib/stringinfo.c')
0 files changed, 0 insertions, 0 deletions