File tree Expand file tree Collapse file tree 1 file changed +17
-0
lines changed Expand file tree Collapse file tree 1 file changed +17
-0
lines changed Original file line number Diff line number Diff line change @@ -103,6 +103,23 @@ do_add_instance(InstanceConfig *instance)
103103 SOURCE_FILE );
104104 config_set_opt (instance_options , & instance -> xlog_seg_size ,
105105 SOURCE_FILE );
106+
107+ /* Kludge: do not save remote options into config */
108+ config_set_opt (instance_options , & instance_config .remote .host ,
109+ SOURCE_DEFAULT );
110+ config_set_opt (instance_options , & instance_config .remote .proto ,
111+ SOURCE_DEFAULT );
112+ config_set_opt (instance_options , & instance_config .remote .port ,
113+ SOURCE_DEFAULT );
114+ config_set_opt (instance_options , & instance_config .remote .path ,
115+ SOURCE_DEFAULT );
116+ config_set_opt (instance_options , & instance_config .remote .user ,
117+ SOURCE_DEFAULT );
118+ config_set_opt (instance_options , & instance_config .remote .ssh_options ,
119+ SOURCE_DEFAULT );
120+ config_set_opt (instance_options , & instance_config .remote .ssh_config ,
121+ SOURCE_DEFAULT );
122+
106123 /* pgdata was set through command line */
107124 do_set_config (true);
108125
You can’t perform that action at this time.
0 commit comments