aboutsummaryrefslogtreecommitdiff
path: root/src/backend/access/transam/commit_ts.c
diff options
context:
space:
mode:
authorMichael Paquier <michael@paquier.xyz>2018-08-29 17:11:19 -0700
committerMichael Paquier <michael@paquier.xyz>2018-08-29 17:11:19 -0700
commit89f562ae10c53c767f3c6c23820022230c641692 (patch)
tree5133bd13ca1d38969f9b575b308270c3ca4fac18 /src/backend/access/transam/commit_ts.c
parente2841d399a89636b8411d9985c468f202cfd0171 (diff)
downloadpostgresql-89f562ae10c53c767f3c6c23820022230c641692.tar.gz
postgresql-89f562ae10c53c767f3c6c23820022230c641692.zip
Stop bgworkers during fast shutdown with postmaster in startup phase
When a postmaster gets into its phase PM_STARTUP, it would start background workers using BgWorkerStart_PostmasterStart mode immediately, which would cause problems for a fast shutdown as the postmaster forgets to send SIGTERM to already-started background workers. With smart and immediate shutdowns, this correctly happened, and fast shutdown is the only mode missing the shot. Author: Alexander Kukushkin Reviewed-by: Michael Paquier Discussion: https://postgr.es/m/CAFh8B=mvnD8+DZUfzpi50DoaDfZRDfd7S=gwj5vU9GYn8UvHkA@mail.gmail.com Backpatch-through: 9.5
Diffstat (limited to 'src/backend/access/transam/commit_ts.c')
0 files changed, 0 insertions, 0 deletions