Commit 25468994 authored by Bruce Momjian's avatar Bruce Momjian

docs: clarify that CREATE TABLE ... _AS_ can be parallelized

CREATE TABLE without AS doesn't have anything to parallelize.
parent 8e12f4a2
...@@ -152,7 +152,7 @@ EXPLAIN SELECT * FROM pgbench_accounts WHERE filler LIKE '%x%'; ...@@ -152,7 +152,7 @@ EXPLAIN SELECT * FROM pgbench_accounts WHERE filler LIKE '%x%';
The query writes any data or locks any database rows. If a query The query writes any data or locks any database rows. If a query
contains a data-modifying operation either at the top level or within contains a data-modifying operation either at the top level or within
a CTE, no parallel plans for that query will be generated. As an a CTE, no parallel plans for that query will be generated. As an
exception, the commands <literal>CREATE TABLE</literal>, <literal>SELECT exception, the commands <literal>CREATE TABLE ... AS</literal>, <literal>SELECT
INTO</literal>, and <literal>CREATE MATERIALIZED VIEW</literal> which create a new INTO</literal>, and <literal>CREATE MATERIALIZED VIEW</literal> which create a new
table and populate it can use a parallel plan. table and populate it can use a parallel plan.
</para> </para>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment