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 <euler@eulerto.com> Discussion: https://www.postgresql.org/message-id/697d692f-f9d3-41f6-9f0e-29a4fb18e544@app.fastmail.com
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

Lines changed: 1 addition & 6 deletions
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)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy