Re: On partitioning - Mailing list pgsql-hackers

From Greg Stark
Subject Re: On partitioning
Date
Msg-id CAM-w4HNd6AwkWNRjN4FynCzV2OGe95F6VuApCAR6b0MRbuNnxw@mail.gmail.com
Whole thread Raw
In response to Re: On partitioning  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-hackers
On Mon, Sep 1, 2014 at 4:59 PM, Tom Lane <tgl@sss.pgh.pa.us> wrote:
> The "push into executor" idea I was alluding to is that we might invent
> plan constructs like a ModifyTable node that applies to a whole
> inheritance^H^H^Hpartitioning tree and leaves the tuple routing to be
> done at runtime.  You're not going to get a plan structure like that
> if the planner is building a separate plan subtree for each partition.

Well my message was assuming that in that case it would only consider
the partitioned indexes. It would only consider the isolated indexes
if the planner was able to identify a specific partition. That's
probably the only type of query where such indexes are likely to be
useful.


-- 
greg



pgsql-hackers by date:

Previous
From: Andres Freund
Date:
Subject: Re: On partitioning
Next
From: Andres Freund
Date:
Subject: Re: On partitioning