Files
repmgr/repmgr.h
postgres 44a3548c2e Add connection options and a lot of validations, i still
have to complete the use of the connection options but
the program should still be usable.
2010-09-22 05:08:44 -05:00

25 lines
328 B
C

/*
* dbutils.h
* Copyright (c) 2ndQuadrant, 2010
*
*/
#ifndef _REPMGR_H_
#define _REPMGR_H_
#include "postgres_fe.h"
#include "getopt_long.h"
#include "libpq-fe.h"
#include "dbutils.h"
#include "config.h"
#define PRIMARY_MODE 0
#define STANDBY_MODE 1
#define MAXLEN 80
#define CONFIG_FILE "repmgr.conf"
#endif