pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Amit Kapila <akapila@postgresql.org>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: Don't consider parallel append for parallel unsafe paths.
Date: Wed, 20 Jun 2018 02:54:21 +0000
Message-ID: <E1fVTGH-0001XN-J6@gemulon.postgresql.org> (raw)

Don't consider parallel append for parallel unsafe paths.

Commit ab72716778 allowed Parallel Append paths to be generated for a
relation that is not parallel safe.  Prevent that from happening.

Initial analysis by Tom Lane.

Reported-by: Rajkumar Raghuwanshi
Author: Amit Kapila and Rajkumar Raghuwanshi
Reviewed-by: Amit Khandekar and Robert Haas
Discussion:https://postgr.es/m/CAKcux6=tPJ6nJ08r__nU_pmLQiC0xY15Fn0HvG1Cprsjdd9s_Q@mail.gmail.com

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/403318b71f7058ecbfb65bcc7de1eec96cd35d3f

Modified Files
--------------
src/backend/optimizer/path/allpaths.c         |  5 ++++-
src/test/regress/expected/select_parallel.out | 26 ++++++++++++++++++++++++++
src/test/regress/sql/select_parallel.sql      |  9 +++++++++
3 files changed, 39 insertions(+), 1 deletion(-)



Message-ID: <E1fVTGH-0001XN-J6@gemulon.postgresql.org>
Permalink:  ../E1fVTGH-0001XN-J6@gemulon.postgresql.org/
Also on:    postgresql.org/message-id/E1fVTGH-0001XN-J6@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: akapila@postgresql.org
  Subject: Re: pgsql: Don't consider parallel append for parallel unsafe paths.
  In-Reply-To: <E1fVTGH-0001XN-J6@gemulon.postgresql.org>
  References: <E1fVTGH-0001XN-J6@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