Re: [HACKERS] advanced partition matching algorithm for partition-wise join - Mailing list pgsql-hackers

From Antonin Houska
Subject Re: [HACKERS] advanced partition matching algorithm for partition-wise join
Date
Msg-id 2103.1504793054@localhost
Whole thread Raw
In response to Re: [HACKERS] advanced partition matching algorithm forpartition-wise join  (Ashutosh Bapat <ashutosh.bapat@enterprisedb.com>)
Responses Re: [HACKERS] advanced partition matching algorithm forpartition-wise join
List pgsql-hackers
Ashutosh Bapat <ashutosh.bapat@enterprisedb.com> wrote:

> I have fixed the issues which were marked as TODOs in the attached
> patches. Also, I have included your test change patch in my series of
> patches.

I've noticed that partition_bounds_merge() is called twice from
make_join_rel():
* build_join_rel -> build_joinrel_partition_info -> partition_bounds_merge
* try_partition_wise_join -> partition_bounds_merge

Is this intentional, or just a thinko?

--
Antonin Houska
Cybertec Schönig & Schönig GmbH
Gröhrmühlgasse 26
A-2700 Wiener Neustadt
Web: http://www.postgresql-support.de, http://www.cybertec.at



pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: [HACKERS] log_destination=file
Next
From: Merlin Moncure
Date:
Subject: Re: [HACKERS] WIP: Aggregation push-down