git.postgresql.org Git - postgresql.git/commit

git projects / postgresql.git / commit
? search:
summary | shortlog | log | commit | commitdiff | tree
(parent: 4d85c29) | patch
Allow DML commands that create tables to use parallel query.
Thu, 5 Oct 2017 15:34:38 +0000 (11:34 -0400)
Thu, 5 Oct 2017 15:40:48 +0000 (11:40 -0400)
commit e9baa5e9fa147e00a2466ab2c40eb99c8a700824
Allow DML commands that create tables to use parallel query.

Haribabu Kommi, reviewed by Dilip Kumar and Rafia Sabih. Various
cosmetic changes by me to explain why this appears to be safe but
allowing inserts in parallel mode in general wouldn't be. Also, I
removed the REFRESH MATERIALIZED VIEW case from Haribabu's patch,
since I'm not convinced that case is OK, and hacked on the
documentation somewhat.

Discussion: http://postgr.es/m/CAJrrPGdo5bak6qnPWe8Kpi8g_jfQEs-G4SYmG9y+OFaw2-dPvA@mail.gmail.com
doc/src/sgml/parallel.sgml diff | blob | blame | history
src/backend/access/heap/heapam.c diff | blob | blame | history
src/backend/commands/createas.c diff | blob | blame | history
src/backend/commands/explain.c diff | blob | blame | history
src/backend/executor/execMain.c diff | blob | blame | history
src/backend/optimizer/plan/planner.c diff | blob | blame | history
src/test/regress/expected/write_parallel.out [new file with mode: 0644] blob
src/test/regress/parallel_schedule diff | blob | blame | history
src/test/regress/serial_schedule diff | blob | blame | history
src/test/regress/sql/write_parallel.sql [new file with mode: 0644] blob
This is the main PostgreSQL git repository.
RSS Atom

AltStyle によって変換されたページ (->オリジナル) /