Files
repmgr/repmgr-action-node.h
Ian Barwick 2499b42ef8 switchover: check for pending archive files on the demotion candidate
If the current primary (demotion candidate) still has any files to archive,
it will delay the shutdown until all files are archived. If there is a
substantial number of files, and/or the archive command executes slowly,
this will probably lead to an unwelcome delay in the switchover process.
2017-08-08 00:37:20 +09:00

20 lines
453 B
C

/*
* repmgr-action-node.h
* Copyright (c) 2ndQuadrant, 2010-2017
*/
#ifndef _REPMGR_ACTION_NODE_H_
#define _REPMGR_ACTION_NODE_H_
extern void do_node_status(void);
extern void do_node_check(void);
extern bool do_node_check_archiver(PGconn *conn, OutputMode mode, PQExpBufferData *output);
extern void do_node_archive_config(void);
extern void do_node_restore_config(void);
extern void do_node_service(void);
#endif /* _REPMGR_ACTION_NODE_H_ */