pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: 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: Thu, 02 Jul 2009 11:31:04 +0200
Message-ID: <4A4C7E58.4010709@lucidview.net> (raw)
In-Reply-To: <13724.1246470286@sss.pgh.pa.us>
References: <4A4B91FF.8040308@lucidview.net>
	<13724.1246470286@sss.pgh.pa.us>

Cool thanks then not something I'm doing wrong :). Is this going to be 
changed or is changed in a latter version of postgres. (Do I need to do 
and upgrade or write a work around :) )

Tom Lane wrote:
> 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
>
>   

-- 
Tim Haak
Email:  timh@lucidview.net
Tel:      +27 12 658 9019

Attachments:

timh.vcf (text/x-vcard, 168B) download begin:vcard fn:Timothy Haak n:Haak;Timothy email;internet:timh@lucidview.net tel;work:+27 12 658 9019 tel;cell:+27 83 778 7100 x-mozilla-html:TRUE version:2.1 end:vcard

view thread (3+ messages)

Message-ID: <4A4C7E58.4010709@lucidview.net>
Permalink:  ../4A4C7E58.4010709@lucidview.net/
Also on:    postgresql.org/message-id/4A4C7E58.4010709@lucidview.net

 · 

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: timh@lucidview.net
  Subject: Re: Partitioned tables not using index for min and max 8.2.7?
  In-Reply-To: <4A4C7E58.4010709@lucidview.net>

* 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