mirror of
https://github.com/EnterpriseDB/repmgr.git
synced 2026-03-27 00:46:29 +00:00
Check for max_replication_slots > 0
This commit is contained in:
2
repmgr.c
2
repmgr.c
@@ -2740,7 +2740,7 @@ check_upstream_config(PGconn *conn, int server_version_num, bool exit_on_error)
|
|||||||
else
|
else
|
||||||
{
|
{
|
||||||
i = guc_set_typed(conn, "max_replication_slots", ">",
|
i = guc_set_typed(conn, "max_replication_slots", ">",
|
||||||
"1", "integer");
|
"0", "integer");
|
||||||
if (i == 0 || i == -1)
|
if (i == 0 || i == -1)
|
||||||
{
|
{
|
||||||
if (i == 0)
|
if (i == 0)
|
||||||
|
|||||||
Reference in New Issue
Block a user