]> 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:23:39 +0000 (11:23 -0400)
commit10eb60c2dc9461b56cf90cf05032a078eef7243d
tree2e88a344ea5439330fca416761c717adc2aa25f7
parent833c3961d9f22b46c32eeb9c4e73d334864994ed
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