Add guc_setted_typed() function to allow

wal_keep_segmeents to be checked as an integer instead
of text

Patch by Jay Taylor
This commit is contained in:
Jaime Casanova
2013-12-19 00:55:56 -05:00
parent 493133986d
commit a1f4285e2b
3 changed files with 37 additions and 1 deletions

View File

@@ -32,6 +32,8 @@ bool is_pgup(PGconn *conn, int timeout);
char *pg_version(PGconn *conn, char* major_version);
bool guc_setted(PGconn *conn, const char *parameter, const char *op,
const char *value);
bool guc_setted(PGconn *conn, const char *parameter, const char *op,
const char *value, const char *datatype);
const char *get_cluster_size(PGconn *conn);
PGconn *getMasterConnection(PGconn *standby_conn, char *schema, char *cluster,
int *master_id, char *master_conninfo_out);