Re: jsonb array-style subscripting - Mailing list pgsql-hackers

From Peter Geoghegan
Subject Re: jsonb array-style subscripting
Date
Msg-id CAM3SWZTxk6FDwfYLDodThUb-vwT3gbuieYqyffv_qFMpgR24QQ@mail.gmail.com
Whole thread Raw
In response to Re: jsonb array-style subscripting  (Merlin Moncure <mmoncure@gmail.com>)
List pgsql-hackers
On Mon, Aug 17, 2015 at 12:26 PM, Merlin Moncure <mmoncure@gmail.com> wrote:
> I'm not sure if this:
> update test_jsonb_subscript set test_json['a']['a1']['a2'] = 42;
>
> ...is a good idea.

This kind of "targetlist indirection" is already possible with arrays
and composite types.

-- 
Peter Geoghegan



pgsql-hackers by date:

Previous
From: Alvaro Herrera
Date:
Subject: Re: jsonb array-style subscripting
Next
From: Andrew Dunstan
Date:
Subject: Re: jsonb array-style subscripting