Re: replacing jsonb field value - Mailing list pgsql-general

From Andreas Kretschmer
Subject Re: replacing jsonb field value
Date
Msg-id 20150530121005.GA27392@tux
Whole thread Raw
In response to Re: replacing jsonb field value  (Michael Paquier <michael.paquier@gmail.com>)
Responses Re: replacing jsonb field value
Re: replacing jsonb field value
List pgsql-general
Michael Paquier <michael.paquier@gmail.com> wrote:

>
> Append the new value to it the existing field, jsonb has as property
> to enforce key uniqueness, and uses the last value scanned for a given
> key.

can you show a simple example, how to append a jsonb to an jsonb-field?
Maybe i'm blind, but i can't find how it works.

Thx.


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°


pgsql-general by date:

Previous
From: Pavel Stehule
Date:
Subject: Re: How to retrieve Comment text using SQL, not psql?
Next
From: Melvin Davidson
Date:
Subject: Re: How to retrieve Comment text using SQL, not psql?