mirror of
https://github.com/EnterpriseDB/repmgr.git
synced 2026-03-23 15:16:29 +00:00
37 lines
746 B
C
37 lines
746 B
C
/*
|
|
* repmgr-action-standby.h
|
|
* Copyright (c) 2ndQuadrant, 2010-2017
|
|
*/
|
|
|
|
#ifndef _REPMGR_ACTION_STANDBY_H_
|
|
#define _REPMGR_ACTION_STANDBY_H_
|
|
|
|
extern void do_standby_clone(void);
|
|
extern void do_standby_register(void);
|
|
extern void do_standby_unregister(void);
|
|
extern void do_standby_promote(void);
|
|
extern void do_standby_follow(void);
|
|
extern void do_standby_switchover(void);
|
|
extern void do_standby_archive_config(void);
|
|
extern void do_standby_restore_config(void);
|
|
|
|
typedef struct
|
|
{
|
|
char filepath[MAXPGPATH];
|
|
char filename[MAXPGPATH];
|
|
bool in_data_directory;
|
|
} t_configfile_info;
|
|
|
|
|
|
typedef struct
|
|
{
|
|
int size;
|
|
int entries;
|
|
t_configfile_info **files;
|
|
} t_configfile_list;
|
|
|
|
#define T_CONFIGFILE_LIST_INITIALIZER { 0, 0, NULL }
|
|
|
|
|
|
#endif
|