1
0
mirror of https://github.com/postgres/postgres.git synced 2025-07-08 11:42:09 +03:00

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.
This commit is contained in:
Andrew Dunstan
2017-04-06 22:11:21 -04:00
parent 510074f9f0
commit cf35346e81
6 changed files with 2353 additions and 501 deletions

File diff suppressed because it is too large Load Diff