Validate options when using pg_backupapi mode.

When `pg_backupapi` is enabled, we should validate if the remote ssh
command, node name and backup_id are also defined.
This commit is contained in:
Mario Gonzalez
2023-03-07 16:51:25 -03:00
parent 03c2ae1bd8
commit 167d166ae8
2 changed files with 32 additions and 1 deletions

View File

@@ -30,6 +30,6 @@ extern void do_standby_help(void);
extern bool do_standby_follow_internal(PGconn *primary_conn, PGconn *follow_target_conn, t_node_info *follow_target_node_record, PQExpBufferData *output, int general_error_code, int *error_code);
void check_pg_backupapi_standby_clone_options(void);
#endif /* _REPMGR_ACTION_STANDBY_H_ */