postgresql/src
Robert Haas 3a1f8611f2 Update parallel executor support to reuse the same DSM.
Commit b0b0d84b3d purported to make it
possible to relaunch workers using the same parallel context, but it had
an unpleasant race condition: we might reinitialize after the workers
have sent their last control message but before they have dettached the
DSM, leaving to crashes.  Repair by introducing a new ParallelContext
operation, ReinitializeParallelDSM.

Adjust execParallel.c to use this new support, so that we can rescan a
Gather node by relaunching workers but without needing to recreate the
DSM.

Amit Kapila, with some adjustments by me.  Extracted from latest parallel
sequential scan patch.
2015-10-30 10:44:54 +01:00
..
backend Update parallel executor support to reuse the same DSM. 2015-10-30 10:44:54 +01:00
bin Message style improvements 2015-10-28 20:38:36 -04:00
common pgindent run for 9.5 2015-05-23 21:35:49 -04:00
include Update parallel executor support to reuse the same DSM. 2015-10-30 10:44:54 +01:00
interfaces Fix order of arguments in ecpg generated typedef command. 2015-10-16 17:29:05 +02:00
makefiles Remove support for Unix systems without the POSIX signal APIs. 2015-08-31 12:56:10 -04:00
pl Fix hstore_plpython test when python3 is used. 2015-10-04 22:29:03 +02:00
port Remove support for Unix systems without the POSIX signal APIs. 2015-08-31 12:56:10 -04:00
template Remove some remains from Alpha support removal 2015-10-29 16:40:14 -04:00
test Message style improvements 2015-10-28 20:38:36 -04:00
timezone Update time zone data files to tzdata release 2015g. 2015-10-02 19:15:39 -04:00
tools Correct pg_indent to pgindent in various comments. 2015-10-08 12:27:54 -04:00
tutorial Remove no-longer-required function declarations. 2015-05-24 12:20:23 -04:00
.gitignore Convert cvsignore to gitignore, and add .gitignore for build targets. 2010-09-22 12:57:04 +02:00
DEVELOPERS
Makefile Create libpgcommon, and move pg_malloc et al to it 2013-02-12 11:21:05 -03:00
Makefile.global.in Make prove_installcheck remove the old log directory, if any. 2015-10-11 20:36:07 -04:00
Makefile.shlib AIX: Link TRANSFORM modules with their dependencies. 2015-07-15 21:00:26 -04:00
bcc32.mak Autoconfiscate selection of 64-bit int type for 64-bit large object API. 2012-10-07 21:52:43 -04:00
nls-global.mk Setup error context callback for transaction lock waits 2014-03-19 15:10:36 -03:00
win32.mak Autoconfiscate selection of 64-bit int type for 64-bit large object API. 2012-10-07 21:52:43 -04:00