Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit1330843

Browse files
committed
pg_createsubscriber: Remove obsolete comment
This comment should have been removed by commitb963913. There isno 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 parent800cd3e commit1330843

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)

[8]ページ先頭

©2009-2025 Movatter.jp