Re: 9.6 bug: select jsonb_set('[{"f1":1,"f2":null},2,null,3]', '{0}','[2,3,4]',

Поиск
Список
Период
Сортировка
От Michael Paquier
Тема Re: 9.6 bug: select jsonb_set('[{"f1":1,"f2":null},2,null,3]', '{0}','[2,3,4]',
Дата
Msg-id CAB7nPqRWkjMCaSMJiLHdCOjJS2Z619ON3ObyRWm8COXRJfW7Pw@mail.gmail.com
обсуждение исходный текст
Ответ на Re: 9.6 bug: select jsonb_set('[{"f1":1,"f2":null},2,null,3]', '{0}','[2,3,4]',  (Michael Paquier <michael.paquier@gmail.com>)
Список pgsql-bugs
On Wed, Oct 12, 2016 at 4:00 PM, Michael Paquier
<michael.paquier@gmail.com> wrote:
> On Wed, Oct 12, 2016 at 3:57 PM, sunpeng <bluevaley@gmail.com> wrote:
>> in 9.6,
>> select jsonb_set('[{"f1":1,"f2":null},2,null,3]', '{0}','[2,3,4]',
>
> This is not a complete query, there is no way to guess what is going wrong.
>
>> got:
>> [2, null, 3]
>> but in 9.6.5, got:
>> [[2, 3, 4], 2, null, 3]
>
> 9.6.5 has not been released yet, 9.6.X series are currently at 9.6.0.

Just saw your other email, I'll reply there directly. Please just
ignore this one.
--
Michael

В списке pgsql-bugs по дате отправления:

Предыдущее
От: Michael Paquier
Дата:
Сообщение: Re: 9.6 bug: select jsonb_set('[{"f1":1,"f2":null},2,null,3]', '{0}','[2,3,4]',
Следующее
От: Tillmann Schulz
Дата:
Сообщение: Return Codes of BatchUpdateException in PostgreSql 9.6