pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Tim Haak <timh@lucidview.net>
Cc: pgsql-sql@postgresql.org
Subject: Re: Partitioned tables not using index for min and max 8.2.7?
Date: Wed, 01 Jul 2009 13:44:46 -0400
Message-ID: <13724.1246470286@sss.pgh.pa.us> (raw)
In-Reply-To: <4A4B91FF.8040308@lucidview.net>
References: <4A4B91FF.8040308@lucidview.net>

Tim Haak <timh@lucidview.net> writes:
> I am running the following query again a partitioned table in 8.2.7. It 
> does index scans which is unexpected as there are indexes for the 
> log_date column.

The index min/max optimization only works on single tables at the
moment.  Sorry.

			regards, tom lane



view thread (3+ messages)  latest in thread

Message-ID: <13724.1246470286@sss.pgh.pa.us>
Permalink:  ../13724.1246470286@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/13724.1246470286@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 using the --to and --cc options:
  reply via email

  To: pgsql-sql@postgresql.org
  Cc: tgl@sss.pgh.pa.us, timh@lucidview.net
  Subject: Re: Partitioned tables not using index for min and max 8.2.7?
  In-Reply-To: <13724.1246470286@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