Rewrite maybe_reread_subscription() comment
authorÁlvaro Herrera <[email protected]>
Fri, 13 Dec 2024 06:41:36 +0000 (07:41 +0100)
committerÁlvaro Herrera <[email protected]>
Fri, 13 Dec 2024 06:41:36 +0000 (07:41 +0100)
One sentence was gramatically wrong, but also too terse.  Expand on it.

src/backend/replication/logical/worker.c

index 46d3ad566f6f436b8fbee5db1202b33156a45175..9e50c880f8186f2e049a50dfa06317e8dc0cfc9a 100644 (file)
@@ -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)