Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

Commit 2546899

Browse files
committed
docs: clarify that CREATE TABLE ... _AS_ can be parallelized
CREATE TABLE without AS doesn't have anything to parallelize.
1 parent 8e12f4a commit 2546899

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

doc/src/sgml/parallel.sgml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -152,7 +152,7 @@ EXPLAIN SELECT * FROM pgbench_accounts WHERE filler LIKE '%x%';
152152
The query writes any data or locks any database rows. If a query
153153
contains a data-modifying operation either at the top level or within
154154
a CTE, no parallel plans for that query will be generated. As an
155-
exception, the commands <literal>CREATE TABLE</literal>, <literal>SELECT
155+
exception, the commands <literal>CREATE TABLE ... AS</literal>, <literal>SELECT
156156
INTO</literal>, and <literal>CREATE MATERIALIZED VIEW</literal> which create a new
157157
table and populate it can use a parallel plan.
158158
</para>

0 commit comments

Comments
 (0)