pg.ddx.io  pgsql-bugs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Peter J. Holzer <hjp-pgsql@hjp.at>
Cc: pgsql-bugs@postgresql.org
Subject: Re: 9.5alpha1: Partial index not used
Date: Sat, 01 Aug 2015 14:33:50 -0400
Message-ID: <8852.1438454030@sss.pgh.pa.us> (raw)
In-Reply-To: <20150801160429.GA18043@hjp.at>
References: <20150731173213.GB2423@hjp.at>
	<13924.1438387421@sss.pgh.pa.us>
	<20150801160429.GA18043@hjp.at>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-bugs>

"Peter J. Holzer" <hjp-pgsql@hjp.at> writes:
> On 2015-07-31 20:03:41 -0400, Tom Lane wrote:
>> Only the last case produces use of the index.  I agree that it'd be better
>> if they all did, but I'm disinclined to consider it a bug fix unless you
>> can show a specific case in which there's a performance regression from
>> older releases.

> "grossly incorrect plan choices are cause for a bug report" (from
> http://www.postgresql.org/docs/9.5/static/indexes-partial.html) ;-)

Sorry, I phrased that poorly.  I meant that I'm disinclined to change
this behavior in stable branches unless it's a regression.  I agree
that it's reasonable to fix it in 9.5/HEAD, and I've now done so.

			regards, tom lane


-- 
Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-bugs



view thread (5+ messages)  latest in thread

Message-ID: <8852.1438454030@sss.pgh.pa.us>
Permalink:  ../8852.1438454030@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/8852.1438454030@sss.pgh.pa.us

 · 

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: tgl@sss.pgh.pa.us, hjp-pgsql@hjp.at
  Subject: Re: 9.5alpha1: Partial index not used
  In-Reply-To: <8852.1438454030@sss.pgh.pa.us>
  References: <20150731173213.GB2423@hjp.at> <13924.1438387421@sss.pgh.pa.us> <20150801160429.GA18043@hjp.at> <8852.1438454030@sss.pgh.pa.us>

* 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