summaryrefslogtreecommitdiff
path: root/contrib
diff options
context:
space:
mode:
Diffstat (limited to 'contrib')
-rw-r--r--contrib/pg_prewarm/autoprewarm.c7
1 files changed, 1 insertions, 6 deletions
diff --git a/contrib/pg_prewarm/autoprewarm.c b/contrib/pg_prewarm/autoprewarm.c
index 8d6c81998ca..a85ee0450ec 100644
--- a/contrib/pg_prewarm/autoprewarm.c
+++ b/contrib/pg_prewarm/autoprewarm.c
@@ -396,12 +396,7 @@ apw_load_buffers(void)
/*
* Likewise, don't launch if we've already been told to shut down.
- *
- * There is a race condition here: if the postmaster has received a
- * fast-shutdown signal, but we've not heard about it yet, then the
- * postmaster will ignore our worker start request and we'll wait
- * forever. However, that's a bug in the general background-worker
- * logic, not the fault of this module.
+ * (The launch would fail anyway, but we might as well skip it.)
*/
if (ShutdownRequestPending)
break;