Ensure that multi-node executor is initialised correctly.
authorPavan Deolasee <pavan.deolasee@gmail.com>
Thu, 18 May 2017 04:52:31 +0000 (10:22 +0530)
committerPavan Deolasee <pavan.deolasee@gmail.com>
Thu, 18 May 2017 04:52:31 +0000 (10:22 +0530)
commit9b12e275cd0b42c2cc4f65b8f6dd771d394bbba7
tree9f8ed2a2fb63bc6fb6107533acd5eea3be9f7ce5
parent802721867a8d3862eb2ebdb64db1faac013354b8
Ensure that multi-node executor is initialised correctly.

Since parallel background worker threads may need to communicate with remote
nodes, we should initialise multi-node executor when the parallel worker starts
it work. This was discovered while running queries with force_parallel_mode set
to on.
src/backend/access/transam/parallel.c