Re: Runtime partition pruning for MergeAppend

From: Heikki Linnakangas <hlinnaka(at)iki(dot)fi>
To: David Rowley <david(dot)rowley(at)2ndquadrant(dot)com>, PostgreSQL Hackers <pgsql-hackers(at)lists(dot)postgresql(dot)org>
Subject: Re: Runtime partition pruning for MergeAppend
Date: 2018-07-19 10:50:15
Message-ID: 4d054c5a-e964-821a-b06f-15d05e300166@iki.fi
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On 18/06/18 13:29, David Rowley wrote:
> Back in the v11 cycle, there was just not quite enough time to get the
> MergeAppend run-time partition pruning patch in.
>
> I've attached v24 of this patch. The only changes done from v23 [1]
> are to re-base the patch atop of current master. There's was a bit of
> churn in the partition pruning and run-time pruning code last week.
> I've re-aligned the new code to account for the work done there.

Looks solid. The only actual bug I see is that this doesn't honor the
enable_partition_pruning GUC, but that's trivial to fix. So fixed that,
reworded some of the comments a tiny bit, and committed. Thanks!

- Heikki

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Andrey Borodin 2018-07-19 10:52:34 Re: GiST VACUUM
Previous Message Fabien COELHO 2018-07-19 10:37:39 Re: Make foo=null a warning by default.