]> granicus.if.org Git - postgresql/commit
Add all structured objects passed to pushJsonbValue piecewise.
authorAndrew Dunstan <andrew@dunslane.net>
Tue, 26 May 2015 15:16:52 +0000 (11:16 -0400)
committerAndrew Dunstan <andrew@dunslane.net>
Tue, 26 May 2015 15:16:52 +0000 (11:16 -0400)
commit54547bd87f49326d67051254c363e6597d16ffda
treef2a1e947fabbb446780e45835a074ec25789038f
parent79f2b5d583e2e2a7ccd13e31d0e20a900c8f2f61
Add all structured objects passed to pushJsonbValue piecewise.

Commit 9b74f32cdbff8b9be47fc69164eae552050509ff did this for objects of
type jbvBinary, but in trying further to simplify some of the new jsonb
code I discovered that objects of type jbvObject or jbvArray passed as
WJB_ELEM or WJB_VALUE also caused problems. These too are now added
component by component.

Backpatch to 9.4.
src/backend/utils/adt/jsonb_util.c