mirror of
https://github.com/EnterpriseDB/repmgr.git
synced 2026-03-27 17:06:29 +00:00
Minimum supported version is currently 9.4
This commit is contained in:
@@ -1628,21 +1628,6 @@ check_source_server()
|
||||
log_detail(_("current installation size is %s"),
|
||||
cluster_size);
|
||||
|
||||
/*
|
||||
* If --recovery-min-apply-delay was passed, check that
|
||||
* we're connected to PostgreSQL 9.4 or later
|
||||
*/
|
||||
// XXX should this be a config file parameter?
|
||||
if (*runtime_options.recovery_min_apply_delay)
|
||||
{
|
||||
if (server_version_num < 90400)
|
||||
{
|
||||
log_error(_("PostgreSQL 9.4 or greater required for --recovery-min-apply-delay"));
|
||||
PQfinish(source_conn);
|
||||
exit(ERR_BAD_CONFIG);
|
||||
}
|
||||
}
|
||||
|
||||
/*
|
||||
* If the upstream node is a standby, try to connect to the primary too so we
|
||||
* can write an event record
|
||||
@@ -1916,13 +1901,6 @@ initialise_direct_clone(void)
|
||||
{
|
||||
TablespaceListCell *cell;
|
||||
|
||||
if (server_version_num < 90400)
|
||||
{
|
||||
log_error(_("tablespace mapping is not supported for PostgreSQL 9.3"));
|
||||
PQfinish(source_conn);
|
||||
exit(ERR_BAD_CONFIG);
|
||||
}
|
||||
|
||||
for (cell = config_file_options.tablespace_mapping.head; cell; cell = cell->next)
|
||||
{
|
||||
char *old_dir_escaped = escape_string(source_conn, cell->old_dir);
|
||||
|
||||
Reference in New Issue
Block a user