Improve configuration file handling

Put logic in config.c so it can be shared between repmgr and repmgrd.
This commit is contained in:
Ian Barwick
2015-03-03 15:39:56 +09:00
parent 6b1f55ff1b
commit 46888de77f
4 changed files with 67 additions and 41 deletions

View File

@@ -154,6 +154,7 @@ main(int argc, char **argv)
int optindex;
int c;
bool daemonize = false;
FILE *fd;
int server_version_num = 0;