diff options
author | Tom Lane <tgl@sss.pgh.pa.us> | 2016-03-11 10:24:33 -0500 |
---|---|---|
committer | Tom Lane <tgl@sss.pgh.pa.us> | 2016-03-11 10:24:55 -0500 |
commit | 49635d7b3e86c0088eadd80db1563a210bc89efd (patch) | |
tree | e87fb02c921f5c4f27ef1e7468ce40115eb56ff9 /src/include/postgres.h | |
parent | 92f03fe76fe6be683a8b7497579158b8a82b2c25 (diff) | |
download | postgresql-49635d7b3e86c0088eadd80db1563a210bc89efd.tar.gz postgresql-49635d7b3e86c0088eadd80db1563a210bc89efd.zip |
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.
Diffstat (limited to 'src/include/postgres.h')
0 files changed, 0 insertions, 0 deletions