pgsql: On second thought, disable parallelism for prepared statements.

From: Robert Haas <rhaas(at)postgresql(dot)org>
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: On second thought, disable parallelism for prepared statements.
Date: 2016-02-26 11:08:10
Message-ID: E1aZGFm-0007ZL-6I@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

On second thought, disable parallelism for prepared statements.

CREATE TABLE .. AS EXECUTE can turn an apparently read-only query into
a write operation, which parallel query can't handle. It's a bit of a
shame that requires us to avoid parallel query for queries prepared via
PREPARE in all cases, but for right now it does.

Branch
------
master

Details
-------
http://git.postgresql.org/pg/commitdiff/7bea19d0a9d3e6975418ffe685fb510bd31ab434

Modified Files
--------------
src/backend/commands/prepare.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Alvaro Herrera 2016-02-26 16:28:48 pgsql: Move some code from RewindTest into PostgresNode
Previous Message Robert Haas 2016-02-26 10:47:01 pgsql: Add new FDW API to test for parallel-safety.