public inbox for [email protected]
help / color / mirror / Atom feedFrom: Alvaro Herrera from 2ndQuadrant <[email protected]>
To: Richard Guo <[email protected]>
Cc: Etsuro Fujita <[email protected]>
Cc: Amit Langote <[email protected]>
Cc: PostgreSQL-development <[email protected]>
Subject: Re: A problem about partitionwise join
Date: Tue, 10 Sep 2019 17:48:22 -0300
Message-ID: <[email protected]> (raw)
In-Reply-To: <CAN_9JTxC8JdpCDDY0ic-VqQ4fbUGS9O_xas1pU6aXF4Q8imcKA@mail.gmail.com>
So in this patch, the input restrictlist is modified to include the
clauses generated by generate_join_implied_equalities_for_all. That
doesn't seem okay -- doesn't it affect downstream usage of the
restrictlist in the caller of set_joinrel_size_estimates?
I wonder if it's possible to do this by using the ECs directly in
have_partkey_equi_join instead of using them to create fake join
clauses.
--
Álvaro Herrera https://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services
view thread (32+ messages) latest in thread
reply
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: [email protected]
Cc: [email protected], [email protected], [email protected], [email protected]
Subject: Re: A problem about partitionwise join
In-Reply-To: <[email protected]>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by agora; see mirroring instructions
for how to clone and mirror all data and code used for this inbox