"standby clone": initialise non-Barman clone process

This commit is contained in:
Ian Barwick
2017-05-02 00:19:44 +09:00
parent 611e3b5e29
commit 84a2bf4375
3 changed files with 293 additions and 15 deletions

View File

@@ -8,5 +8,22 @@
extern void do_standby_clone(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