pg.ddx.io  pgsql-bugs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Magnus Hagander <magnus@hagander.net>
To: Peter Geoghegan <pg@heroku.com>
Cc: Noah Misch <noah@leadboat.com>
Cc: pgsql-bugs <pgsql-bugs@postgresql.org>
Cc: Marc-Olaf Jaschke <marc-olaf.jaschke@s24.com>
Cc: Robert Haas <robertmhaas@gmail.com>
Cc: Tom Lane <tgl@sss.pgh.pa.us>
Subject: Re: Re: Missing rows with index scan when collation is not "C" (PostgreSQL 9.5)
Date: Wed, 23 Mar 2016 19:09:53 +0100
Message-ID: <CABUevExXnb4b4kH0V-rnxruhmQrrLnMqApJS-vNTMZbVqVB7RQ@mail.gmail.com> (raw)
In-Reply-To: <CAM3SWZQdRibwD1FmYTHjqgHUsA2oacEciU0=atUAROwf5ocaSA@mail.gmail.com>
References: <111D0E27-A8F3-4A84-A4E0-B0FB703863DF@s24.com>
	<9688.1458605021@sss.pgh.pa.us>
	<CA+TgmoZE6ERMy7oJWhDVz_W=siZLMBBwBp1jxiuvjrROVN7anw@mail.gmail.com>
	<CAM3SWZT04ZOVdh5j6kA4hX3kg3XLir28jsvrqT2Cxhv1QDy9kQ@mail.gmail.com>
	<CAM3SWZRKdfKhBLRXzQtMK2WACC2oo_Lq=FWAup4-xvjxkUoEbA@mail.gmail.com>
	<16214.1458615257@sss.pgh.pa.us>
	<CAM3SWZQnF3AfMwJHVdjmfmy9T2D2esX04aTfwZo2kNvwUp8OEQ@mail.gmail.com>
	<CAM3SWZTums8PyGAHUpj=3gpt-xiGbbLqUun3mKK8-aTh-z9R2A@mail.gmail.com>
	<CA+TgmoYkvRZ6BfjRj3b68p2iuwXF5auaR2DLkpFaJj+LpZZu0A@mail.gmail.com>
	<19132.1458688784@sss.pgh.pa.us>
	<20160323024445.GA1306688@tornado.leadboat.com>
	<CA+TgmoahtpvHZbtE=Gapq=HvA-N0y5qgnfMJWF0hXE9ibJGXzA@mail.gmail.com>
	<31913.1458747836@sss.pgh.pa.us>
	<1979.1458749625@sss.pgh.pa.us>
	<CA+TgmoYhbDKWh6xE4tkVY-LtcQqjByzoRtS_ecUuUd1MxGk-3A@mail.gmail.com>
	<10712.1458755212@sss.pgh.pa.us>
	<CAM3SWZSDVO_4tyDPgYX5NWFW=3BcCLpHV-vUtKKJ-VryqoKjVQ@mail.gmail.com>
	<CABUevEyk3Z1mQV=Zi-kt6gONCOw7sOKrim+XP+KMEao4rJ0Wcw@mail.gmail.com>
	<CAM3SWZSUwaPZ3fVTQaugDWucs4MJHBcYYWD726tiiQrwHaVE0g@mail.gmail.com>
	<CABUevEz09i3YpEbLkV6JXSeYZs2e-yFYh9Ui1-cT2r=K72fFBQ@mail.gmail.com>
	<CAM3SWZQdRibwD1FmYTHjqgHUsA2oacEciU0=atUAROwf5ocaSA@mail.gmail.com>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-bugs>

On Wed, Mar 23, 2016 at 7:06 PM, Peter Geoghegan <pg@heroku.com> wrote:

> On Wed, Mar 23, 2016 at 11:04 AM, Magnus Hagander <magnus@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 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/

view thread (79+ messages)  latest in thread

Message-ID: <CABUevExXnb4b4kH0V-rnxruhmQrrLnMqApJS-vNTMZbVqVB7RQ@mail.gmail.com>
Permalink:  ../CABUevExXnb4b4kH0V-rnxruhmQrrLnMqApJS-vNTMZbVqVB7RQ@mail.gmail.com/
Also on:    postgresql.org/message-id/CABUevExXnb4b4kH0V-rnxruhmQrrLnMqApJS-vNTMZbVqVB7RQ@mail.gmail.com

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-bugs@postgresql.org
  Cc: magnus@hagander.net, pg@heroku.com, noah@leadboat.com, marc-olaf.jaschke@s24.com, robertmhaas@gmail.com, tgl@sss.pgh.pa.us
  Subject: Re: Missing rows with index scan when collation is not "C" (PostgreSQL 9.5)
  In-Reply-To: <CABUevExXnb4b4kH0V-rnxruhmQrrLnMqApJS-vNTMZbVqVB7RQ@mail.gmail.com>
  References: <111D0E27-A8F3-4A84-A4E0-B0FB703863DF@s24.com> <CAM3SWZQnF3AfMwJHVdjmfmy9T2D2esX04aTfwZo2kNvwUp8OEQ@mail.gmail.com> <CAM3SWZTums8PyGAHUpj=3gpt-xiGbbLqUun3mKK8-aTh-z9R2A@mail.gmail.com> <CA+TgmoYkvRZ6BfjRj3b68p2iuwXF5auaR2DLkpFaJj+LpZZu0A@mail.gmail.com> <19132.1458688784@sss.pgh.pa.us> <20160323024445.GA1306688@tornado.leadboat.com> <CA+TgmoahtpvHZbtE=Gapq=HvA-N0y5qgnfMJWF0hXE9ibJGXzA@mail.gmail.com> <31913.1458747836@sss.pgh.pa.us> <1979.1458749625@sss.pgh.pa.us> <CA+TgmoYhbDKWh6xE4tkVY-LtcQqjByzoRtS_ecUuUd1MxGk-3A@mail.gmail.com> <10712.1458755212@sss.pgh.pa.us> <CAM3SWZSDVO_4tyDPgYX5NWFW=3BcCLpHV-vUtKKJ-VryqoKjVQ@mail.gmail.com> <CABUevEyk3Z1mQV=Zi-kt6gONCOw7sOKrim+XP+KMEao4rJ0Wcw@mail.gmail.com> <CAM3SWZSUwaPZ3fVTQaugDWucs4MJHBcYYWD726tiiQrwHaVE0g@mail.gmail.com> <CABUevEz09i3YpEbLkV6JXSeYZs2e-yFYh9Ui1-cT2r=K72fFBQ@mail.gmail.com> <CAM3SWZQdRibwD1FmYTHjqgHUsA2oacEciU0=atUAROwf5ocaSA@mail.gmail.com> <CABUevExXnb4b4kH0V-rnxruhmQrrLnMqApJS-vNTMZbVqVB7RQ@mail.gmail.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox