Skip to content

Commit 1330843

Browse files
committed
pg_createsubscriber: Remove obsolete comment
This comment should have been removed by commit b963913. There is no replication slot check on the primary anymore. Author: Euler Taveira <[email protected]> Discussion: https://www.postgresql.org/message-id/[email protected]
1 parent 800cd3e commit 1330843

File tree

1 file changed

+1
-6
lines changed

1 file changed

+1
-6
lines changed

src/bin/pg_basebackup/pg_createsubscriber.c

+1-6
Original file line numberDiff line numberDiff line change
@@ -2207,12 +2207,7 @@ main(int argc, char **argv)
22072207
pg_log_info("stopping the subscriber");
22082208
stop_standby_server(subscriber_dir);
22092209

2210-
/*
2211-
* Create the required objects for each database on publisher. This step
2212-
* is here mainly because if we stop the standby we cannot verify if the
2213-
* primary slot is in use. We could use an extra connection for it but it
2214-
* doesn't seem worth.
2215-
*/
2210+
/* Create the required objects for each database on publisher */
22162211
consistent_lsn = setup_publisher(dbinfo);
22172212

22182213
/* Write the required recovery parameters */

0 commit comments

Comments
 (0)