mirror of
https://github.com/EnterpriseDB/repmgr.git
synced 2026-03-22 22:56:29 +00:00
Have do_standby_follow_internal() not abort on error
Pass the error code back to the caller instead, mainly so "repmgr node rejoin" can better report errors.
This commit is contained in:
@@ -28,7 +28,7 @@ extern void do_standby_switchover(void);
|
||||
|
||||
extern void do_standby_help(void);
|
||||
|
||||
extern bool do_standby_follow_internal(PGconn *primary_conn, t_node_info *primary_node_record, PQExpBufferData *output);
|
||||
extern bool do_standby_follow_internal(PGconn *primary_conn, t_node_info *primary_node_record, PQExpBufferData *output, int *error_code);
|
||||
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user