pg.ddx.io  pgsql-performance@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Gaetano Mendola <mendola@bigfoot.com>
To: Josh Berkus <josh@agliodbs.com>
Subject: Re: horizontal partition
Date: Thu, 03 Feb 2005 11:40:20 +0100
Message-ID: <4201FF94.5090900@bigfoot.com> (raw)
In-Reply-To: <200502021916.08960.josh@agliodbs.com>
References: <ctp64h$l4d$1@floppy.pyrenet.fr>
	<200502021209.06878.josh@agliodbs.com>
	<ctrtln$d0m$1@floppy.pyrenet.fr>
	<200502021916.08960.josh@agliodbs.com>

Josh Berkus wrote:
> Gaetano,
> 
> 
>>I did in that way just to not use postgresql specific feature.
>>I can give it a try and I let you know, however the question remain,
>>why the index usage is lost if used in that way ?
> 
> 
> Because PostgreSQL is materializing the entire UNION data set in the 
> subselect.   What Postgres version are you using?   I thought this was fixed 
> in 7.4, but maybe not ...
> 

Yes, I'm using with 7.4.x, so it was not fixed...



Regards
Gaetano Mendola





view thread (9+ messages)  latest in thread

Message-ID: <4201FF94.5090900@bigfoot.com>
Permalink:  ../4201FF94.5090900@bigfoot.com/
Also on:    postgresql.org/message-id/4201FF94.5090900@bigfoot.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 using the --to and --cc options:
  reply via email

  To: pgsql-performance@postgresql.org
  Cc: mendola@bigfoot.com, josh@agliodbs.com
  Subject: Re: horizontal partition
  In-Reply-To: <4201FF94.5090900@bigfoot.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