[COMMITTERS] pgsql: Fix broken jsonb_set() logic for replacing array elements.

2016-10-12 Thread Tom Lane
Fix broken jsonb_set() logic for replacing array elements. Commit 0b62fd036 did a fairly sloppy job of refactoring setPath() to support jsonb_insert() along with jsonb_set(). In its defense, though, there was no regression test case exercising the case of replacing an existing element in a jsonb

[COMMITTERS] pgsql: Fix broken jsonb_set() logic for replacing array elements.

2016-10-12 Thread Tom Lane
Fix broken jsonb_set() logic for replacing array elements. Commit 0b62fd036 did a fairly sloppy job of refactoring setPath() to support jsonb_insert() along with jsonb_set(). In its defense, though, there was no regression test case exercising the case of replacing an existing element in a jsonb