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.
This commit is contained in:
postgres
2010-09-22 04:40:43 -05:00
parent 93417715d4
commit 44a3548c2e
4 changed files with 330 additions and 65 deletions

View File

@@ -6,3 +6,6 @@
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);