use struct for config file information

This commit is contained in:
trbs
2011-01-07 01:36:46 +01:00
parent 4a0e827464
commit fc2405f17d
5 changed files with 92 additions and 114 deletions

View File

@@ -25,7 +25,6 @@
#include "libpq-fe.h"
#include "dbutils.h"
#include "config.h"
#define PRIMARY_MODE 0
@@ -34,5 +33,8 @@
#define MAXLEN 80
#define CONFIG_FILE "repmgr.conf"
#define MAXVERSIONSTR 16
#define QUERY_STR_LEN 8192
#include "config.h"
#endif