pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Robert Haas <rhaas@postgresql.org>
To: pgsql-committers@postgresql.org
Subject: pgsql: Code review for Parallel Append.
Date: Thu, 04 Jan 2018 12:58:55 +0000
Message-ID: <E1eX56l-00085r-GD@gemulon.postgresql.org> (raw)

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

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/c759395617765c5bc21db149cf8c3df52f41ccff

Modified Files
--------------
src/backend/executor/nodeAppend.c     |  7 +++----
src/backend/optimizer/path/costsize.c | 16 ++++++++++++----
src/include/nodes/execnodes.h         |  1 -
3 files changed, 15 insertions(+), 9 deletions(-)



Message-ID: <E1eX56l-00085r-GD@gemulon.postgresql.org>
Permalink:  ../E1eX56l-00085r-GD@gemulon.postgresql.org/
Also on:    postgresql.org/message-id/E1eX56l-00085r-GD@gemulon.postgresql.org

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-committers@postgresql.org
  Cc: rhaas@postgresql.org
  Subject: Re: pgsql: Code review for Parallel Append.
  In-Reply-To: <E1eX56l-00085r-GD@gemulon.postgresql.org>
  References: <E1eX56l-00085r-GD@gemulon.postgresql.org>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox