From: | Andrew Dunstan <andrew(at)dunslane(dot)net> |
---|---|
To: | pgsql-committers(at)postgresql(dot)org |
Subject: | pgsql: Add all structured objects passed to pushJsonbValue piecewise. |
Date: | 2015-05-26 15:24:00 |
Message-ID: | E1YxGi0-0000Ms-Kl@gemulon.postgresql.org |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-committers |
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.
Branch
------
master
Details
-------
http://git.postgresql.org/pg/commitdiff/54547bd87f49326d67051254c363e6597d16ffda
Modified Files
--------------
src/backend/utils/adt/jsonb_util.c | 14 +++++++++-----
1 file changed, 9 insertions(+), 5 deletions(-)
From | Date | Subject | |
---|---|---|---|
Next Message | Andrew Dunstan | 2015-05-26 15:48:24 | pgsql: Simplify addJsonbToParseState() |
Previous Message | Alvaro Herrera | 2015-05-26 14:44:06 | Re: [COMMITTERS] pgsql: Row-Level Security Policies (RLS) |