Re: Is this a bug ?

Поиск
Список
Период
Сортировка
От Geoff Winkless
Тема Re: Is this a bug ?
Дата
Msg-id CAEzk6fc3Xk7xQo_p5o-RB3CKzZd_kDCnSrPnobK+9bd-yzfXGg@mail.gmail.com
обсуждение исходный текст
Ответ на Re: Is this a bug ?  (Ron <ronljohnsonjr@gmail.com>)
Ответы Re: Is this a bug ?  (Ron <ronljohnsonjr@gmail.com>)
Список pgsql-general
On Wed, 23 Oct 2019 at 16:55, Ron <ronljohnsonjr@gmail.com> wrote:
> Then -- since the 'e' is separated from 'd' by a comma, the result should be
> "4", not "3".
>
> No doubt: it's a bug, no matter what the Pg devs say.

I'm confused why you consider that to be true. The count is checking
for columns containing the strings 'a', 'b', 'cd' or 'e'. There is not
one with 'cd', so the correct result is 3.

Geoff



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

Предыдущее
От: Fabio Ugo Venchiarutti
Дата:
Сообщение: Re: Is this a bug ?
Следующее
От: "David G. Johnston"
Дата:
Сообщение: Re: jsonb_set() strictness considered harmful to data