Re: Problem with default partition pruning

From: Shawn Wang <shawn(dot)wang(at)highgo(dot)ca>
To: "yuzuko" <yuzukohosoya(at)gmail(dot)com>
Cc: "Alvaro Herrera" <alvherre(at)2ndquadrant(dot)com>, "shawn wang" <shawn(dot)wang(dot)pg(at)gmail(dot)com>, "PostgreSQL Hackers" <pgsql-hackers(at)lists(dot)postgresql(dot)org>
Subject: Re: Problem with default partition pruning
Date: 2019-08-08 07:34:05
Message-ID: 16c70262d65.e85aa1f1725606.6740763146381582532@highgo.ca
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Hi Hosoya-san,

I am sorry for so late to reply to you.

I merged the patches into master(commit: 44460d7017cde005d7a2e246db0b32375bfec15d).

I tested the case I used in the previous patches and didn't find any issues. 

Now I find that you are rethinking some of the details.

I will continue to pay attention to this and will follow up and feedback in time.

Regards,

 

-- 

Shawn Wang

---- On Thu, 27 Jun 2019 10:34:13 +0800 yuzuko <yuzukohosoya(at)gmail(dot)com> wrote ----

Hello,

On Tue, Jun 25, 2019 at 1:45 PM yuzuko <mailto:yuzukohosoya(at)gmail(dot)com> wrote:
>
> Hello Shawn, Alvaro,
>
> Thank you for testing patches and comments.
> Yes, there are two patches:
> (1) v4_default_partition_pruning.patch fixes problems with default
> partition pruning
> and (2) v3_ignore_contradictory_where_clauses_at_partprune_step.patch determines
> if a given clause contradicts a sub-partitioned table's partition constraint.
> I'll post two patches together next time.
>
> Anyway, I'll rebase two patches to apply on master and fix space.
>

Attach the latest patches discussed in this thread. I rebased the second
patch (v5_ignore_contradictory_where_clauses_at_partprune_step.patch)
on the current master. Could you please check them again?

--
Best regards,
Yuzuko Hosoya
NTT Open Source Software Center

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Dmitry Igrishin 2019-08-08 07:38:11 Re: Small patch to fix build on Windows
Previous Message Yonatan Misgan 2019-08-08 07:30:36 Locale support