Re: jsonb array-style subscripting

From: Peter Geoghegan <pg(at)heroku(dot)com>
To: Merlin Moncure <mmoncure(at)gmail(dot)com>
Cc: Dmitry Dolgov <9erthalion6(at)gmail(dot)com>, PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: jsonb array-style subscripting
Date: 2015-08-17 19:44:45
Message-ID: CAM3SWZTxk6FDwfYLDodThUb-vwT3gbuieYqyffv_qFMpgR24QQ@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Mon, Aug 17, 2015 at 12:26 PM, Merlin Moncure <mmoncure(at)gmail(dot)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

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Andrew Dunstan 2015-08-17 19:44:51 Re: jsonb array-style subscripting
Previous Message Alvaro Herrera 2015-08-17 19:41:46 Re: jsonb array-style subscripting