Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1iNJBC-0000DA-Is for pgsql-general@arkaria.postgresql.org; Wed, 23 Oct 2019 16:08:10 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1iNJBB-0006sc-5L for pgsql-general@arkaria.postgresql.org; Wed, 23 Oct 2019 16:08:09 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1iNJBA-0006sI-OF for pgsql-general@lists.postgresql.org; Wed, 23 Oct 2019 16:08:08 +0000 Received: from mail-ot1-x336.google.com ([2607:f8b0:4864:20::336]) by makus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1iNJB8-0003bP-DE for pgsql-general@lists.postgresql.org; Wed, 23 Oct 2019 16:08:07 +0000 Received: by mail-ot1-x336.google.com with SMTP id j33so3434151ota.10 for ; Wed, 23 Oct 2019 09:08:06 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=subject:to:references:from:message-id:date:user-agent:mime-version :in-reply-to:content-transfer-encoding:content-language; bh=CIC0iqMSlsL7K76koL58iEgjQvGVwprB4vJlcLWY4vg=; b=jbQDyE44trPH+f6TvYSt+VLPCAueK7Fk759EBn4b0btDkGuHhOOXxbDaMxFphKgp13 CajSj5O8hhQNzX/vmm4Fj20Mh+GyRsJfNurUCO1xr2gLzlVqYhOjgsTMN6r4mc8zh5Tt uSU9S+uxuIQILtDggGu7uDUwrLzHH5XVor8QiV+NMDx1mLZQqx0dvKY6SoutfLjt5sfJ CfegMK0L1BfsKdzzVlvtYHM3TAUiowjY1FgMVL2hDDYPQ/a10tkLQPZCa/O8K4Bxm8TI 77FgYltiyihgKRPJ8MJzWgB7uPlwRJ1uO+k4HPrJwpirWpp9nspAYK6/f99rdwzVDzXC 9a1w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-transfer-encoding :content-language; bh=CIC0iqMSlsL7K76koL58iEgjQvGVwprB4vJlcLWY4vg=; b=izMSG45/nnp6H7rasrJS3nj9VhrTIA0YVIV1dQrDWEW9SviD0aX9fg/tSmYc/hu20H w4xzc7m9Xn1C7y/zPLMQHU2CoLejrjztMz7wX+J33mRdkGyoz4l+rD8drSrLHHe9qP68 DPi6zmoDwm9EA2cKTWx62W/7A8UIpnelbkHh8IrBHNjDp7x/0jkRsVTUylFRyQMUEJ4s 1sZMFM+aaIA/O46Mm0rQcT02MoOGE2SNY57hNZa8o0bS5dwMwb4PXMOfdrTxmq82D9Ml AqG9Bew8AJ2D7pkjRwVB64aubHJb+wgNzdtLYimuAKqAUDrWHZ8rounByTDZocJBbyaw zV1Q== X-Gm-Message-State: APjAAAW1gZGfPp1Sa6PmnfM3MKfPvC5M9BtwFiwNo+rE3jLWK+7h9oVV mLTgk7uqvrt3g/HJVqbtyfZCBzAJAqlL7g== X-Google-Smtp-Source: APXvYqzUMT/eUdSZG4juhwFzpHC9mWTKfRSm5IeAIFK0es7ES/aoDjrNtYWpie/fETNDYixqn+OPYQ== X-Received: by 2002:a9d:4d89:: with SMTP id u9mr5030089otk.94.1571846885281; Wed, 23 Oct 2019 09:08:05 -0700 (PDT) Received: from [192.168.1.10] (ip70-186-126-197.no.no.cox.net. [70.186.126.197]) by smtp.googlemail.com with ESMTPSA id n27sm6210075otr.32.2019.10.23.09.08.04 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 23 Oct 2019 09:08:04 -0700 (PDT) Subject: Re: Is this a bug ? To: "pgsql-generallists.postgresql.org" References: <6048315C-CE0E-482F-9F48-B300E4D7AC52@aol.com> <9df3ba0d-974d-f13d-ec91-bc22c3ab362b@gmail.com> From: Ron Message-ID: <4c25bba1-e540-56bd-bb84-b73102c20b51@gmail.com> Date: Wed, 23 Oct 2019 11:08:03 -0500 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.8.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Content-Language: en-US List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk On 10/23/19 11:03 AM, Geoff Winkless wrote: > On Wed, 23 Oct 2019 at 16:55, Ron 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. That's my mistake. -- Angular momentum makes the world go 'round.