Re: Is this a bug ?

From: Geoff Winkless <pgsqladmin(at)geoff(dot)dj>
To: Ron <ronljohnsonjr(at)gmail(dot)com>
Cc: "pgsql-generallists(dot)postgresql(dot)org" <pgsql-general(at)lists(dot)postgresql(dot)org>
Subject: Re: Is this a bug ?
Date: 2019-10-23 16:03:10
Message-ID: CAEzk6fc3Xk7xQo_p5o-RB3CKzZd_kDCnSrPnobK+9bd-yzfXGg@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On Wed, 23 Oct 2019 at 16:55, Ron <ronljohnsonjr(at)gmail(dot)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

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message David G. Johnston 2019-10-23 16:06:33 Re: jsonb_set() strictness considered harmful to data
Previous Message John W Higgins 2019-10-23 16:00:50 Re: Is this a bug ?