aboutsummaryrefslogtreecommitdiff
path: root/src/tutorial/funcs.c
diff options
context:
space:
mode:
authorMichael Paquier <michael@paquier.xyz>2018-08-29 17:10:13 -0700
committerMichael Paquier <michael@paquier.xyz>2018-08-29 17:10:13 -0700
commit35622f7d3210f251c507e77730a3f18246629a95 (patch)
treed92bd8f22d77183c64ede6ef31fa0f31400eca39 /src/tutorial/funcs.c
parent49841edcc6440ccfe8cab2a2f478edadc9a0b266 (diff)
downloadpostgresql-35622f7d3210f251c507e77730a3f18246629a95.tar.gz
postgresql-35622f7d3210f251c507e77730a3f18246629a95.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/tutorial/funcs.c')
0 files changed, 0 insertions, 0 deletions