Re: [HACKERS] path toward faster partition pruning - Mailing list pgsql-hackers

From Jesper Pedersen
Subject Re: [HACKERS] path toward faster partition pruning
Date
Msg-id 32730a4d-73c5-f1e5-1b02-79910328c0bf@redhat.com
Whole thread Raw
In response to Re: [HACKERS] path toward faster partition pruning  (Amit Langote <Langote_Amit_f8@lab.ntt.co.jp>)
Responses Re: [HACKERS] path toward faster partition pruning  (Amit Langote <Langote_Amit_f8@lab.ntt.co.jp>)
List pgsql-hackers
Hi,

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.

However,

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, 
minvalue);

Best regards,
  Jesper

Attachment

pgsql-hackers by date:

Previous
From: Andres Freund
Date:
Subject: Re: [HACKERS] Restrict concurrent update/delete with UPDATE ofpartition key
Next
From: Pavel Stehule
Date:
Subject: Re: Re: csv format for psql