pgsql: Fix EXPLAIN ANALYZE SELECT INTO not to choose a parallel plan.

From: Robert Haas <rhaas(at)postgresql(dot)org>
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Fix EXPLAIN ANALYZE SELECT INTO not to choose a parallel plan.
Date: 2016-03-14 23:51:16
Message-ID: E1afcGa-0003kl-BT@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Fix EXPLAIN ANALYZE SELECT INTO not to choose a parallel plan.

We don't support any parallel write operations at present, so choosing
a parallel plan causes us to error out. Also, add a new regression
test that uses EXPLAIN ANALYZE SELECT INTO; if we'd had this previously,
force_parallel_mode testing would have caught this issue.

Mithun Cy and Robert Haas

Branch
------
master

Details
-------
http://git.postgresql.org/pg/commitdiff/270b7daf5cb1e955f8771ec819eb810057d1779b

Modified Files
--------------
src/backend/commands/explain.c | 2 +-
src/test/regress/expected/select_into.out | 7 +++++++
src/test/regress/sql/select_into.sql | 8 ++++++++
3 files changed, 16 insertions(+), 1 deletion(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Peter Eisentraut 2016-03-14 23:56:56 pgsql: Add missing include for self-containment
Previous Message Tom Lane 2016-03-14 23:23:36 pgsql: Provide a planner hook at a suitable place for creating upper-re