Re: replacing jsonb field value

From: Andreas Kretschmer <akretschmer(at)spamfence(dot)net>
To: pgsql-general(at)postgresql(dot)org
Subject: Re: replacing jsonb field value
Date: 2015-05-31 08:28:23
Message-ID: 20150531082823.GA9838@tux
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Glyn Astill <glynastill(at)yahoo(dot)co(dot)uk> wrote:

> Prior to 9.5 you can't, I think you have to use something like jsonb_each to unwrap it then wrap it back up again.
>
> The jsonbx extension, which I believe is what ended up in 9.5 has a simple concatenate function (here: https://github.com/erthalion/jsonbx), I also had a go (here: https://github.com/glynastill/pg_jsonb_opx).

Thanks.

Andreas
--
Really, I'm not out to destroy Microsoft. That will just be a completely
unintentional side effect. (Linus Torvalds)
"If I was god, I would recompile penguin with --enable-fly." (unknown)
Kaufbach, Saxony, Germany, Europe. N 51.05082°, E 13.56889°

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Zenaan Harkness 2015-05-31 09:44:08 advocating LTS release and feature-train release cycles
Previous Message Tom Lane 2015-05-31 05:53:37 Re: Efficient sorting the results of a join, without denormalization