]> granicus.if.org Git - postgresql/commit
On second thought, disable parallelism for prepared statements.
authorRobert Haas <rhaas@postgresql.org>
Fri, 26 Feb 2016 11:03:37 +0000 (16:33 +0530)
committerRobert Haas <rhaas@postgresql.org>
Fri, 26 Feb 2016 11:03:37 +0000 (16:33 +0530)
commit7bea19d0a9d3e6975418ffe685fb510bd31ab434
tree333401c53df4412667e5dcf2f61faed2617f4186
parent35746bc348b6bf1f690fe17f4f80cfb68e22f504
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.
src/backend/commands/prepare.c