summaryrefslogtreecommitdiff
path: root/src/backend/access/gist/gistget.c
diff options
context:
space:
mode:
authorMichael Paquier <michael@paquier.xyz>2018-08-29 17:11:27 -0700
committerMichael Paquier <michael@paquier.xyz>2018-08-29 17:11:27 -0700
commitf6feb8e3851f8393305ac6d45fe49fe6b9295976 (patch)
tree9c909b8b98bd5dd14693320f14fb736e80c5d05f /src/backend/access/gist/gistget.c
parent97aa524f18c0c5d4f800a6b37bb340890dba3224 (diff)
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/gist/gistget.c')
0 files changed, 0 insertions, 0 deletions