mirror of
https://github.com/EnterpriseDB/repmgr.git
synced 2026-03-24 23:56: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:
@@ -280,7 +280,7 @@ main(int argc, char **argv)
|
||||
|
||||
/* Verify that server is a supported version */
|
||||
log_info(_("%s connected to database, checking its state\n"), progname);
|
||||
server_version_num = get_server_version_num(my_local_conn);
|
||||
server_version_num = get_server_version(my_local_conn, NULL);
|
||||
if(server_version_num < MIN_SUPPORTED_VERSION_NUM)
|
||||
{
|
||||
if (server_version_num > 0)
|
||||
|
||||
Reference in New Issue
Block a user