pg.ddx.io  pgsql-performance@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Jens-Wolfhard Schicke <j.schicke@asco.de>
Cc: pgsql-performance@postgresql.org
Subject: Re: Materialize Subplan and push into inner index conditions
Date: Tue, 03 Jan 2006 10:43:34 -0500
Message-ID: <16084.1136303014@sss.pgh.pa.us> (raw)
In-Reply-To: <B83CC5FD82571D5D9439CE4C@[192.168.1.72]>
References: <B83CC5FD82571D5D9439CE4C@[192.168.1.72]>

Jens-Wolfhard Schicke <ml+pgsql-performance@asco.de> writes:
> Is it possible to have the planner consider the second plan instead of the 
> first?

At the moment, only if you get rid of the inheritance.  The planner's
not very smart at all when faced with joining inheritance trees.

			regards, tom lane



view thread (2+ messages)

Message-ID: <16084.1136303014@sss.pgh.pa.us>
Permalink:  ../16084.1136303014@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/16084.1136303014@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-performance@postgresql.org
  Cc: tgl@sss.pgh.pa.us, j.schicke@asco.de
  Subject: Re: Materialize Subplan and push into inner index conditions
  In-Reply-To: <16084.1136303014@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