Re: [HACKERS] advanced partition matching algorithm for partition-wise join
Ashutosh Bapat <ashutosh.bapat@enterprisedb.com>
From: Ashutosh Bapat <ashutosh.bapat@enterprisedb.com>
To: Amit Langote <Langote_Amit_f8@lab.ntt.co.jp>
Cc: Robert Haas <robertmhaas@gmail.com>, Antonin Houska <ah@cybertec.at>, pgsql-hackers <pgsql-hackers@postgresql.org>
Date: 2018-02-09T05:27:40Z
Lists: pgsql-hackers
Commits
Same data as JSON:
GET /api/v1/messages/:b64id/commits
the thread's linked commits as JSON, with link sources.
API reference →
-
Suppress unused-variable warning.
- 401418ca6a68 13.0 landed
-
Allow partitionwise joins in more cases.
- c8434d64ce03 13.0 landed
-
Avoid crash in partitionwise join planning under GEQO.
- 7ad6498fd5a6 12.0 cited
- d70c147fa217 11.3 cited
-
Disable support for partitionwise joins in problematic cases.
- 7cfdc77023ad 12.0 cited
-
Add plan_cache_mode setting
- f7cb2842bf47 12.0 cited
-
Add test for partitionwise join involving default partition.
- 4513d3a4be0b 12.0 cited
-
Revise API for partition_rbound_cmp/partition_rbound_datum_cmp.
- b0229235564f 11.0 landed
Attachments
- pg_adv_dp_join_patches_v4.tar.gz (application/x-gzip)
On Thu, Feb 8, 2018 at 8:25 AM, Amit Langote <Langote_Amit_f8@lab.ntt.co.jp> wrote: > Hi Ashutosh. > > On 2018/02/07 13:51, Ashutosh Bapat wrote: >> Here's a new patchset with following changes >> >> 1. Rebased on the latest head taking care of partition bound >> comparison function changes > > I was about to make these changes myself while revising the fast pruning > patch. Instead, I decided to take a look at your patch and try to use it > in my tree. > > I looked at the patch 0001 and noticed that git diff --check says: > > src/backend/catalog/partition.c:2900: trailing whitespace. > +partition_rbound_datum_cmp(FmgrInfo *partsupfunc, Oid *partcollation, Thanks. Fixed. > > Also, might be a good idea to write briefly about the new arguments in the > header comment. Something like that they are PartitionKey elements. Here's updated patch set with those comments added. -- Best Wishes, Ashutosh Bapat EnterpriseDB Corporation The Postgres Database Company