mirror of
https://github.com/EnterpriseDB/repmgr.git
synced 2026-03-25 08:06:29 +00:00
Optionally retrieve server_version string as well
In a couple of places we'll need to report the human-readable version number
This commit is contained in:
@@ -30,7 +30,7 @@ PGconn *establish_db_connection_by_params(const char *keywords[],
|
||||
int is_standby(PGconn *conn);
|
||||
int is_witness(PGconn *conn, char *schema, char *cluster, int node_id);
|
||||
bool is_pgup(PGconn *conn, int timeout);
|
||||
int get_server_version_num(PGconn *conn);
|
||||
int get_server_version(PGconn *conn, char *server_version);
|
||||
int guc_set(PGconn *conn, const char *parameter, const char *op,
|
||||
const char *value);
|
||||
int guc_set_typed(PGconn *conn, const char *parameter, const char *op,
|
||||
|
||||
Reference in New Issue
Block a user