HelloYou meant
... do update set price=test.price || '{"CA":20}'::jsonb;
? Or possibly
... do update set price=test.price || EXCLUDED.price;
?In other words, why did you expect the result {"CA":20,"RU":10} ?
regards, Sergei