Re: [HACKERS] path toward faster partition pruning

From: Jesper Pedersen <jesper(dot)pedersen(at)redhat(dot)com>
To: Amit Langote <Langote_Amit_f8(at)lab(dot)ntt(dot)co(dot)jp>, David Rowley <david(dot)rowley(at)2ndquadrant(dot)com>
Cc: Robert Haas <robertmhaas(at)gmail(dot)com>, Ashutosh Bapat <ashutosh(dot)bapat(at)enterprisedb(dot)com>, Rajkumar Raghuwanshi <rajkumar(dot)raghuwanshi(at)enterprisedb(dot)com>, Kyotaro HORIGUCHI <horiguchi(dot)kyotaro(at)lab(dot)ntt(dot)co(dot)jp>, Amit Langote <amitlangote09(at)gmail(dot)com>, Dilip Kumar <dilipbalaut(at)gmail(dot)com>, Beena Emerson <memissemerson(at)gmail(dot)com>, "pgsql-hackers(at)postgresql(dot)org" <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: [HACKERS] path toward faster partition pruning
Date: 2018-03-28 16:41:15
Views: Raw Message | Whole Thread | Download mbox
Lists: pgsql-hackers


On 03/28/2018 06:30 AM, Amit Langote wrote:
> On 2018/03/28 18:29, Amit Langote wrote:
>> Attached is the updated set of patches, which contains other miscellaneous
>> changes such as updated comments, beside the main changes described above.
> Sorry, one of those miscellaneous changes was a typo that would cause
> compilation to fail... Sigh. Fixed in the updated version.

Just some trivial changes.


explain (costs off) select * from mc2p where a = 2 and b < 1;

is picking up

-> Seq Scan on mc2p2
Filter: ((b < 1) AND (a = 2))

which doesn't seem right, as its definition is

create table mc2p2 partition of mc2p for values from (1, 1) to (2,

Best regards,

Attachment Content-Type Size
delta_v43.patch text/x-patch 4.7 KB

In response to


Browse pgsql-hackers by date

  From Date Subject
Next Message Pavel Stehule 2018-03-28 16:42:34 Re: Re: csv format for psql
Previous Message Andres Freund 2018-03-28 16:35:41 Re: [HACKERS] Restrict concurrent update/delete with UPDATE of partition key