Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ainEr-0007fW-KK for pgsql-bugs@arkaria.postgresql.org; Wed, 23 Mar 2016 18:10:37 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84_2) (envelope-from ) id 1ainEr-0000zL-6h for pgsql-bugs@arkaria.postgresql.org; Wed, 23 Mar 2016 18:10:37 +0000 Received: from makus.postgresql.org ([2001:4800:1501:1::229]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1ainED-0007x2-8n for pgsql-bugs@postgresql.org; Wed, 23 Mar 2016 18:09:57 +0000 Received: from mail-oi0-x22f.google.com ([2607:f8b0:4003:c06::22f]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.84_2) (envelope-from ) id 1ainEA-0006v3-KT for pgsql-bugs@postgresql.org; Wed, 23 Mar 2016 18:09:56 +0000 Received: by mail-oi0-x22f.google.com with SMTP id d205so30358784oia.0 for ; Wed, 23 Mar 2016 11:09:54 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=hagander-net.20150623.gappssmtp.com; s=20150623; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc; bh=Hbnw6vOGxbZOC+euaUeUdaJQQu2Odplt0XZFY1uChlc=; b=TebPCSiKUlfjR9O1z1ZGUcEvjHxBPR2KS0eQlqfCa99OhTLHmbfewZnR5QRPH5+4vJ f5+mIoH9FLHkkzh3wNC1L8vnwb8G9jpvZ7XPoDXCIsSu0GIBWvs14MWq/L0rqmYq/wME jBcNCYhU3lD9Tp/ZqxUl4Ph/IiHV2N37bzgZMFnp0SwejY2lgTzyK3ZNCQfrKM2qXEE8 qyaH+5gG+f8NYL7G4E39xMw+Z/qphD1S6nwRP7czl7IR9/XmjyiyvWNOkdkCnC9K9eOJ Hr+5UI7NYyW5Qta7mS8snRZO7SoHljcW1xq07hs7G6Qxd7AXuxGL/IVFFZ+YigXi7ikx GBxQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:date :message-id:subject:from:to:cc; bh=Hbnw6vOGxbZOC+euaUeUdaJQQu2Odplt0XZFY1uChlc=; b=XVlSwGZpaW7SY5EdyV+woxXylgYNNq1d3X8/CvxGHsPwoNCuUMBWeUzw9ykSybI9+h un76+bI0YqHCUt2H4HAuTK/slNeT4gUCjO+pJKFUzjvRVOnGsgcgz270gpNTeZaCedZs OKKxpi3l2WlFoVKF8NkR7SvHSCYyUpQ0lDSpfbHWxPnamgLcPOznJ9cbRuma9sz9pS2j I8K+8inqkEbAvkTOlvJuvKKDcgGovxr5PF5/6zx7n9P+lW9ikb6yfnP5OC69NAQ6SA8n ekwZ/6hDBqqbe5r8YWYhKH1EyA95Remu1jd+XRd2pOR9fgYvGcosCECRBw5P96uLYryN mWNA== X-Gm-Message-State: AD7BkJIXWRP1qO1Slt8s4O6K5VFd0XhmjUjleJ3HqB6scrTICBgsSkEqB62sUdBz73gj9CyA5UJKXnPH4RohZQ== MIME-Version: 1.0 X-Received: by 10.157.31.84 with SMTP id x20mr2399533otx.160.1458756593936; Wed, 23 Mar 2016 11:09:53 -0700 (PDT) Received: by 10.157.31.77 with HTTP; Wed, 23 Mar 2016 11:09:53 -0700 (PDT) In-Reply-To: References: <111D0E27-A8F3-4A84-A4E0-B0FB703863DF@s24.com> <9688.1458605021@sss.pgh.pa.us> <16214.1458615257@sss.pgh.pa.us> <19132.1458688784@sss.pgh.pa.us> <20160323024445.GA1306688@tornado.leadboat.com> <31913.1458747836@sss.pgh.pa.us> <1979.1458749625@sss.pgh.pa.us> <10712.1458755212@sss.pgh.pa.us> Date: Wed, 23 Mar 2016 19:09:53 +0100 Message-ID: Subject: Re: Re: Missing rows with index scan when collation is not "C" (PostgreSQL 9.5) From: Magnus Hagander To: Peter Geoghegan Cc: Noah Misch , pgsql-bugs , Marc-Olaf Jaschke , Robert Haas , Tom Lane Content-Type: multipart/alternative; boundary=001a113dc4ac989119052ebb3c97 X-Pg-Spam-Score: -2.6 (--) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-bugs Precedence: bulk Sender: pgsql-bugs-owner@postgresql.org --001a113dc4ac989119052ebb3c97 Content-Type: text/plain; charset=UTF-8 On Wed, Mar 23, 2016 at 7:06 PM, Peter Geoghegan wrote: > On Wed, Mar 23, 2016 at 11:04 AM, Magnus Hagander > wrote: > > That said, my main point is that I do not think the knob is something > that > > should be tuned by the average end user. For most people, that should be > > left to the packagers for the platform, who can make an informed choice > > about if it's safe to turn it on. > > I could get behind that if we really make an effort to help them make > an informed choice. The abbreviated keys optimization is highly > valuable, and I put a lot of work into it, as did Robert. > Oh, I totally appreciate that. It's one of the great improvements in 9.5, and one of the best things is that it's an "automatic improvement" that doesn't require the users to change their applications to benefit from it. But it's also currently badly broken on some of our most common platforms. We want to get it back to working. But short-term, it's more important to limit the scope of the brokenness, since this is a version that people are putting in production. Once we have enough info to safely say we've put a workaround in place, we turn it back on. -- Magnus Hagander Me: http://www.hagander.net/ Work: http://www.redpill-linpro.com/ --001a113dc4ac989119052ebb3c97 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
On W= ed, Mar 23, 2016 at 7:06 PM, Peter Geoghegan <pg@heroku.com> wr= ote:
On Wed, Mar 23, 201= 6 at 11:04 AM, Magnus Hagander <m= agnus@hagander.net> wrote:
> That said, my main point is that I do not think the knob is something = that
> should be tuned by the average end user. For most people, that should = be
> left to the packagers for the platform, who can make an informed choic= e
> about if it's safe to turn it on.

I could get behind that if we really make an effort to help them mak= e
an informed choice. The abbreviated keys optimization is highly
valuable, and I put a lot of work into it, as did Robert.
<= div>
Oh, I totally appreciate that. It's one of the great= improvements in 9.5, and one of the best things is that it's an "= automatic improvement" that doesn't require the users to change th= eir applications to benefit from it. But it's also currently badly brok= en on some of our most common platforms.

We want t= o get it back to working. But short-term, it's more important to limit = the scope of the brokenness, since this is a version that people are puttin= g in production. Once we have enough info to safely say we've put a wor= karound in place, we turn it back on.=C2=A0

--
--001a113dc4ac989119052ebb3c97--