summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Eisentraut2024-07-30 10:21:20 +0000
committerPeter Eisentraut2024-07-30 10:32:57 +0000
commit1330843bb78e9d2422af2f2b9909b80732bd6fc0 (patch)
treeb3750376cf3110aa0a5d20ccdab6157e1d499f9f
parent800cd3e923597172a29aba49da45753f52996ee8 (diff)
pg_createsubscriber: Remove obsolete comment
This comment should have been removed by commit b9639138262. There is no replication slot check on the primary anymore. Author: Euler Taveira <euler@eulerto.com> Discussion: https://www.postgresql.org/message-id/697d692f-f9d3-41f6-9f0e-29a4fb18e544@app.fastmail.com
-rw-r--r--src/bin/pg_basebackup/pg_createsubscriber.c7
1 files changed, 1 insertions, 6 deletions
diff --git a/src/bin/pg_basebackup/pg_createsubscriber.c b/src/bin/pg_basebackup/pg_createsubscriber.c
index b15fb98994a..f838a079b66 100644
--- a/src/bin/pg_basebackup/pg_createsubscriber.c
+++ b/src/bin/pg_basebackup/pg_createsubscriber.c
@@ -2207,12 +2207,7 @@ main(int argc, char **argv)
pg_log_info("stopping the subscriber");
stop_standby_server(subscriber_dir);
- /*
- * Create the required objects for each database on publisher. This step
- * is here mainly because if we stop the standby we cannot verify if the
- * primary slot is in use. We could use an extra connection for it but it
- * doesn't seem worth.
- */
+ /* Create the required objects for each database on publisher */
consistent_lsn = setup_publisher(dbinfo);
/* Write the required recovery parameters */