pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: pgsql-committers@postgresql.org
Subject: pgsql: Set correct cost data in Gather node added by force_parallel_mod
Date: Sun, 03 Jul 2016 19:35:37 +0000
Message-ID: <E1bJnB3-0004gd-Dw@gemulon.postgresql.org> (raw)
List-Unsubscribe:  <mailto:majordomo@postgresql.org?body=unsub%20pgsql-committers>

Set correct cost data in Gather node added by force_parallel_mode.

We were just leaving the cost fields zeroes, which produces obviously bogus
output with force_parallel_mode = on.  With force_parallel_mode = regress,
the zeroes are hidden, but I wonder if they wouldn't still confuse add-on
code such as auto_explain.

Branch
------
master

Details
-------
http://git.postgresql.org/pg/commitdiff/0e495c5e2f97aa7e2323705a6daed73cdd6c168c

Modified Files
--------------
src/backend/optimizer/plan/planner.c | 15 +++++++++++++++
1 file changed, 15 insertions(+)


-- 
Sent via pgsql-committers mailing list (pgsql-committers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-committers


Message-ID: <E1bJnB3-0004gd-Dw@gemulon.postgresql.org>
Permalink:  ../E1bJnB3-0004gd-Dw@gemulon.postgresql.org/
Also on:    postgresql.org/message-id/E1bJnB3-0004gd-Dw@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: tgl@sss.pgh.pa.us
  Subject: Re: pgsql: Set correct cost data in Gather node added by force_parallel_mod
  In-Reply-To: <E1bJnB3-0004gd-Dw@gemulon.postgresql.org>
  References: <E1bJnB3-0004gd-Dw@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