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

git projects / postgresql.git / commit
? search:
summary | shortlog | log | commit | commitdiff | tree
(parent: bfc78d7) | patch
Prohibit parallel query when the isolation level is serializable.
2015年10月16日 15:58:27 +0000 (11:58 -0400)
2015年10月16日 15:58:27 +0000 (11:58 -0400)
commit a53c06a13eb4669d08ce8a5199aee51f88dd453e
Prohibit parallel query when the isolation level is serializable.

In order for this to be safe, the code which hands true serializability
will need to taught that the SIRead locks taken by a parallel worker
pertain to the same transaction as those taken by the parallel leader.
Some further changes may be needed as well. Until the necessary
adaptations are made, don't generate parallel plans in serializable
mode, and if a previously-generated parallel plan is used after
serializable mode has been activated, run it serially.

This fixes a bug in commit 7aea8e4f2daa4b39ca9d1309a0c4aadb0f7ed81b.
src/backend/access/transam/parallel.c diff | blob | blame | history
src/backend/optimizer/plan/planner.c diff | blob | blame | history
This is the main PostgreSQL git repository.
RSS Atom

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