Files
repmgr/dbutils.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

12 lines
344 B
C

/*
* dbutils.h
* Copyright (c) 2ndQuadrant, 2010
*
*/
PGconn *establishDBConnection(const char *conninfo, const bool exit_on_error);
bool is_standby(PGconn *conn);
bool is_supported_version(PGconn *conn);
bool guc_setted(PGconn *conn, const char *parameter, const char *op, const char *value);
char *get_cluster_size(PGconn *conn);