From: Alvaro Herrera <alvherre@2ndquadrant.com>
To: shawn wang <shawn.wang.pg@gmail.com>
Cc: Shawn Wang <shawn.wang@highgo.ca>
Cc: pgsql-hackers@lists.postgresql.org, Yuzuko Hosoya <yuzukohosoya@gmail.com>
Subject: Re: Problem with default partition pruning
Date: Sun, 23 Jun 2019 23:45:37 -0400
Message-ID: <20190624034537.GA21833@alvherre.pgsql> (raw)
In-Reply-To: <CA+T=_GXO__hc9fsw9zd_exZrVj_ZBrZGyma8ZSWHz+LTd6OBDw@mail.gmail.com>
On 2019-Jun-24, shawn wang wrote:
Hello,
> Thank you for your reply.
> You can see that the mail start time is February 22. So I looked at the
> latest version at that time. I found that v11.2 was the newest branch at
> the time. So I tried to merge this patch into the code, and I found that
> everything worked.
I see -- I only tried master, didn't occur to me to try it against
REL_11_STABLE.
> So I tested on this branch and got the results.
> You need to add the v4_default_partition_pruning.patch
> <https://www.postgresql.org/message-id/attachment/100463/v4_default_partition_pruning.patch;
> first,
> and then add the
> v3_ignore_contradictory_where_clauses_at_partprune_step.patch
> <https://www.postgresql.org/message-id/attachment/100591/v3_ignore_contradictory_where_clauses_at_par...;
Oh, so there are two patches? It's easier to keep track if they're
always posted together. Anyway, I may have some time to have a look
tomorrow (Monday).
--
Álvaro Herrera https://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients using the --to and --cc options:
reply via email
To: pgsql-hackers@postgresql.org
Cc: alvherre@2ndquadrant.com, shawn.wang.pg@gmail.com, shawn.wang@highgo.ca, yuzukohosoya@gmail.com
Subject: Re: Problem with default partition pruning
In-Reply-To: <20190624034537.GA21833@alvherre.pgsql>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox