Appending new data to existing field of Json data type

From: VENKTESH GUTTEDAR <venkteshguttedar(at)gmail(dot)com>
To: pgsql-general(at)postgresql(dot)org
Subject: Appending new data to existing field of Json data type
Date: 2014-10-29 06:42:37
Message-ID: CA+iwz4=m_CspLeP-ywACN94y_i-EAzeKwp47xuScKkS4k=uifA@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Hello,

As i am new to postgresql, i am learning through experimenting things.

i have a table with json data type field, so there is some data for
example :

{ [ { a:b, b:c } ] }

and now if i append data then it should be like :

{ [ { a:b, b:c }, { e:f, g:h } ] }

Is there any way to achieve this. please help.!
I have Postgresql 9.3.5.
--
Regards :
Venktesh Guttedar.

Responses

Browse pgsql-general by date

  From Date Subject
Next Message VENKTESH GUTTEDAR 2014-10-29 07:05:23 Need Guidance on Appending new data to existing field of Json data type
Previous Message Romu Hu 2014-10-29 06:40:14 Re: [BUGS] Need guidance on regression.diffs