git.postgresql.org Git - postgresql.git/commit

git projects / postgresql.git / commit
? search:
summary | shortlog | log | commit | commitdiff | tree
(parent: 21dc488) | patch
Cosmetic improvements for code related to partitionwise join.
Fri, 3 Apr 2020 21:00:25 +0000 (17:00 -0400)
Fri, 3 Apr 2020 21:00:35 +0000 (17:00 -0400)
commit 0568e7a2a4f133a7c16776bcae92c53fcf247b73
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
src/backend/optimizer/path/joinrels.c diff | blob | blame | history
src/backend/optimizer/util/plancat.c diff | blob | blame | history
src/backend/optimizer/util/relnode.c diff | blob | blame | history
src/include/nodes/pathnodes.h diff | blob | blame | history
src/include/optimizer/paths.h diff | blob | blame | history
This is the main PostgreSQL git repository.
RSS Atom

AltStyle によって変換されたページ (->オリジナル) /