From: David G Johnston <david.g.johnston@gmail.com>
To: pgsql-bugs@postgresql.org
Subject: Re: BUG #11441: Weird (and seems wrong) behavior of partial indexes with order by/limit
Date: Fri, 19 Sep 2014 07:05:31 -0700 (PDT)
Message-ID: <1411135531089-5819658.post@n5.nabble.com> (raw)
In-Reply-To: <20140919.171544.140857218.horiguchi.kyotaro@lab.ntt.co.jp>
References: <20140917055723.2495.99190@wrigleys.postgresql.org>
<CAK-MWwS2=8iE=BV-vPORd-+PL76HZsgC9PVzydkAUgnXXntkyQ@mail.gmail.com>
<20140919.171544.140857218.horiguchi.kyotaro@lab.ntt.co.jp>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-bugs>
Kyotaro HORIGUCHI-2 wrote
> Hello, I think this is a behavior as desinged.
It may not technically be a bug but it definitely could use some TLC from
Tom Lane.
I'm curious, but too busy to check myself, how these three queries would
perform with the index columns placed in reverse order. Then create a
summary post with the 3 queries x 2 indexes, and the plan summaries (not the
entire explain) would let someone quickly see the end result without sifting
through 3 posts and lots of explanation.
Also, can you test on 9.3 and/or 9.4? Someone knowledgable may know
outright but otherwise this may have been recently improved and, because it
is not really a bug, not back-patched. Release notes should indicate this
but testing is more accurate.
David J.
--
View this message in context: http://postgresql.1045698.n5.nabble.com/BUG-11441-Weird-and-seems-wrong-behavior-of-partial-indexes-...
Sent from the PostgreSQL - bugs mailing list archive at Nabble.com.
--
Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-bugs
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: david.g.johnston@gmail.com
Subject: Re: BUG #11441: Weird (and seems wrong) behavior of partial indexes with order by/limit
In-Reply-To: <1411135531089-5819658.post@n5.nabble.com>
References: <20140917055723.2495.99190@wrigleys.postgresql.org> <CAK-MWwS2=8iE=BV-vPORd-+PL76HZsgC9PVzydkAUgnXXntkyQ@mail.gmail.com> <20140919.171544.140857218.horiguchi.kyotaro@lab.ntt.co.jp> <1411135531089-5819658.post@n5.nabble.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