mirror of
https://github.com/EnterpriseDB/repmgr.git
synced 2026-03-27 17:06:29 +00:00
repmgr: initial runtime option parsing and root execution detection
This commit is contained in:
@@ -104,6 +104,17 @@ static struct option long_options[] =
|
||||
{NULL, 0, NULL, 0}
|
||||
};
|
||||
|
||||
|
||||
typedef struct
|
||||
{
|
||||
/* general repmgr options */
|
||||
char config_file[MAXPGPATH];
|
||||
} t_runtime_options;
|
||||
|
||||
#define T_RUNTIME_OPTIONS_INITIALIZER { \
|
||||
/* general repmgr options */ \
|
||||
""}
|
||||
|
||||
static void do_help(void);
|
||||
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user