Code review for Parallel Append.
authorRobert Haas <rhaas@postgresql.org>
Thu, 4 Jan 2018 12:56:09 +0000 (07:56 -0500)
committerRobert Haas <rhaas@postgresql.org>
Thu, 4 Jan 2018 12:56:09 +0000 (07:56 -0500)
commitc759395617765c5bc21db149cf8c3df52f41ccff
tree73356a7d1789173f7867f55f5d50a71138c6fc34
parent934c7986f4a0a6a3b606301d84b784a27c0c324b
Code review for Parallel Append.

- Remove unnecessary #include mistakenly added in execnodes.h.
- Fix mistake in comment in choose_next_subplan_for_leader.
- Adjust row estimates in cost_append for a possibly-different
  parallel divisor.
- Clamp row estimates in cost_append after operations that may
  not produce integers.

Amit Kapila, with cosmetic adjustments by me.

Discussion: http://postgr.es/m/CAA4eK1+qcbeai3coPpRW=GFCzFeLUsuY4T-AKHqMjxpEGZBPQg@mail.gmail.com
src/backend/executor/nodeAppend.c
src/backend/optimizer/path/costsize.c
src/include/nodes/execnodes.h