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

git projects / postgresql.git / commit
? search:
summary | shortlog | log | commit | commitdiff | tree
(parent: 09a7774) | patch
Provide DSM segment to ExecXXXInitializeWorker functions.
2017年11月17日 01:28:11 +0000 (17:28 -0800)
2017年11月17日 01:39:18 +0000 (17:39 -0800)
commit 7082e614c0dd504cdf49c4d5a692159f22e78f9d
Provide DSM segment to ExecXXXInitializeWorker functions.

Previously, executor nodes running in parallel worker processes didn't
have access to the dsm_segment object used for parallel execution. In
order to support resource management based on DSM segment lifetime,
they need that. So create a ParallelWorkerContext object to hold it
and pass it to all InitializeWorker functions.

Author: Thomas Munro
Reviewed-By: Andres Freund
Discussion: https://postgr.es/m/CAEepm=2W=cOkiZxcg6qiFQP-dHUe09aqTrEMM7yJDrHMhDv_RA@mail.gmail.com
17 files changed:
src/backend/executor/execParallel.c diff | blob | blame | history
src/backend/executor/nodeBitmapHeapscan.c diff | blob | blame | history
src/backend/executor/nodeCustom.c diff | blob | blame | history
src/backend/executor/nodeForeignscan.c diff | blob | blame | history
src/backend/executor/nodeIndexonlyscan.c diff | blob | blame | history
src/backend/executor/nodeIndexscan.c diff | blob | blame | history
src/backend/executor/nodeSeqscan.c diff | blob | blame | history
src/backend/executor/nodeSort.c diff | blob | blame | history
src/include/access/parallel.h diff | blob | blame | history
src/include/executor/nodeBitmapHeapscan.h diff | blob | blame | history
src/include/executor/nodeCustom.h diff | blob | blame | history
src/include/executor/nodeForeignscan.h diff | blob | blame | history
src/include/executor/nodeIndexonlyscan.h diff | blob | blame | history
src/include/executor/nodeIndexscan.h diff | blob | blame | history
src/include/executor/nodeSeqscan.h diff | blob | blame | history
src/include/executor/nodeSort.h diff | blob | blame | history
src/tools/pgindent/typedefs.list diff | blob | blame | history
This is the main PostgreSQL git repository.
RSS Atom

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