summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorÁlvaro Herrera2024-12-13 06:41:36 +0000
committerÁlvaro Herrera2024-12-13 06:41:36 +0000
commit3191eccd8a9bff1715f2e4fab86d2932a556185e (patch)
treec5df7cf118ae35744d06f72054fd6e1cd8d31ec0
parentfd41ba93e4630921a72ed5127cd0d552a8f3f8fc (diff)
Rewrite maybe_reread_subscription() comment
One sentence was gramatically wrong, but also too terse. Expand on it.
-rw-r--r--src/backend/replication/logical/worker.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/backend/replication/logical/worker.c b/src/backend/replication/logical/worker.c
index 46d3ad566f..9e50c880f8 100644
--- a/src/backend/replication/logical/worker.c
+++ b/src/backend/replication/logical/worker.c
@@ -3948,7 +3948,10 @@ apply_worker_exit(void)
}
/*
- * Reread subscription info if needed. Most changes will be exit.
+ * Reread subscription info if needed.
+ *
+ * For significant changes, we react by exiting the current process; a new
+ * one will be launched afterwards if needed.
*/
void
maybe_reread_subscription(void)