On 05/18/2015 01:43 PM, Peter Geoghegan wrote:
> On Mon, May 18, 2015 at 10:29 AM, Andrew Dunstan <andrew@dunslane.net> wrote:
>> Having trouble scanning this. Since hstore isn't nested what the heck does
>> "nested assignment" mean w.r.t. hstore?
> It means assigning to one "subdatum" in the hstore datum, as opposed
> to simply assigning an entirely new hstore (granted, that's what
> you're actually doing with the nested assignment, but conceptually
> you're assigning to a "subdatum" when using the "hstore ||" idiom that
> the hstore docs prominently talk about).
I could argue at least as convincingly that what the jsonb || operator
does is exactly analogous to what hstore's || does.
cheers
andrew