summaryrefslogtreecommitdiff
path: root/src/backend/access/gist/gistvalidate.c
diff options
context:
space:
mode:
authorTom Lane2017-05-29 23:29:42 +0000
committerTom Lane2017-05-29 23:29:42 +0000
commit68cff231e3a3d0ca9988cf1fde5a3be53235b3bb (patch)
tree75e35bf8b3e66fc9290dd370e3e6190970c8a873 /src/backend/access/gist/gistvalidate.c
parente45c5be99d08d7bb6708d7bb1dd0f5d99798c6aa (diff)
Make edge-case behavior of jsonb_populate_record match json_populate_record
json_populate_record throws an error if asked to convert a JSON scalar or array into a composite type. jsonb_populate_record was returning a record full of NULL fields instead. It seems better to make it throw an error for this case as well. Nikita Glukhov Discussion: https://postgr.es/m/[email protected]
Diffstat (limited to 'src/backend/access/gist/gistvalidate.c')
0 files changed, 0 insertions, 0 deletions