mirror of
https://github.com/postgres/postgres.git
synced 2025-06-01 14:21:49 +03:00
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
This commit is contained in:
parent
787ea8c9d8
commit
71795d1cb4
@ -2207,12 +2207,7 @@ main(int argc, char **argv)
|
|||||||
pg_log_info("stopping the subscriber");
|
pg_log_info("stopping the subscriber");
|
||||||
stop_standby_server(subscriber_dir);
|
stop_standby_server(subscriber_dir);
|
||||||
|
|
||||||
/*
|
/* Create the required objects for each database on publisher */
|
||||||
* 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.
|
|
||||||
*/
|
|
||||||
consistent_lsn = setup_publisher(dbinfo);
|
consistent_lsn = setup_publisher(dbinfo);
|
||||||
|
|
||||||
/* Write the required recovery parameters */
|
/* Write the required recovery parameters */
|
||||||
|
Loading…
x
Reference in New Issue
Block a user