diff options
author | Tom Lane <tgl@sss.pgh.pa.us> | 2020-04-03 17:00:25 -0400 |
---|---|---|
committer | Tom Lane <tgl@sss.pgh.pa.us> | 2020-04-03 17:00:35 -0400 |
commit | 0568e7a2a4f133a7c16776bcae92c53fcf247b73 (patch) | |
tree | 523ab9eab166ca198130974bdb0ea946fd556875 /src/include/optimizer/paths.h | |
parent | 21dc48840c24e70b1b1f0f6478f3dba5343182dd (diff) | |
download | postgresql-0568e7a2a4f133a7c16776bcae92c53fcf247b73.tar.gz postgresql-0568e7a2a4f133a7c16776bcae92c53fcf247b73.zip |
Cosmetic improvements for code related to partitionwise join.
Move have_partkey_equi_join and match_expr_to_partition_keys to
relnode.c, since they're used only there. Refactor
build_joinrel_partition_info to split out the code that fills the
joinrel's partition key lists; this doesn't have any non-cosmetic
impact, but it seems like a useful separation of concerns.
Improve assorted nearby comments.
Amit Langote, with a little further editorialization by me
Discussion: https://postgr.es/m/CA+HiwqG2WVUGmLJqtR0tPFhniO=H=9qQ+Z3L_ZC+Y3-EVQHFGg@mail.gmail.com
Diffstat (limited to 'src/include/optimizer/paths.h')
-rw-r--r-- | src/include/optimizer/paths.h | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/src/include/optimizer/paths.h b/src/include/optimizer/paths.h index 9ab73bd20cd..c689fe8e268 100644 --- a/src/include/optimizer/paths.h +++ b/src/include/optimizer/paths.h @@ -106,9 +106,6 @@ extern bool have_join_order_restriction(PlannerInfo *root, extern bool have_dangerous_phv(PlannerInfo *root, Relids outer_relids, Relids inner_params); extern void mark_dummy_rel(RelOptInfo *rel); -extern bool have_partkey_equi_join(RelOptInfo *joinrel, - RelOptInfo *rel1, RelOptInfo *rel2, - JoinType jointype, List *restrictlist); /* * equivclass.c |