mirror of
https://github.com/EnterpriseDB/repmgr.git
synced 2026-03-26 00:26:30 +00:00
Fix get_cluster_size()
Was returning a pointer to a cleared PQresult
This commit is contained in:
@@ -31,7 +31,7 @@ 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(PGconn *conn, char *server_version);
|
||||
const char *get_cluster_size(PGconn *conn);
|
||||
bool get_cluster_size(PGconn *conn, char *size);
|
||||
bool get_data_directory(PGconn *conn, char *data_directory);
|
||||
|
||||
int guc_set(PGconn *conn, const char *parameter, const char *op,
|
||||
|
||||
Reference in New Issue
Block a user