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

git projects / postgresql.git / commit
? search:
summary | shortlog | log | commit | commitdiff | tree
(parent: 92f03fe) | patch
Minor additional refactoring of planner.c's PathTarget handling.
2016年3月11日 15:24:33 +0000 (10:24 -0500)
2016年3月11日 15:24:55 +0000 (10:24 -0500)
commit 49635d7b3e86c0088eadd80db1563a210bc89efd
Minor additional refactoring of planner.c's PathTarget handling.

Teach make_group_input_target() and make_window_input_target() to work
entirely with the PathTarget representation of tlists, rather than
constructing a tlist and immediately deconstructing it into PathTarget
format. In itself this only saves a few palloc's; the bigger picture is
that it opens the door for sharing cost_qual_eval work across all of
planner.c's constructions of PathTargets. I'll come back to that later.

In support of this, flesh out tlist.c's infrastructure for PathTargets
a bit more.
src/backend/optimizer/plan/planner.c diff | blob | blame | history
src/backend/optimizer/util/tlist.c diff | blob | blame | history
src/include/optimizer/tlist.h diff | blob | blame | history
This is the main PostgreSQL git repository.
RSS Atom

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