mirror of
https://github.com/EnterpriseDB/repmgr.git
synced 2026-03-22 22:56:29 +00:00
WIP: using local_conn var. "conn" doesn't exist
This commit is contained in:
@@ -5299,7 +5299,7 @@ do_standby_switchover(void)
|
|||||||
{
|
{
|
||||||
log_warning(_("no authorized connection available, unable to issue CHECKPOINT"));
|
log_warning(_("no authorized connection available, unable to issue CHECKPOINT"));
|
||||||
|
|
||||||
if (PQserverVersion(conn) >= 150000)
|
if (PQserverVersion(local_conn) >= 150000)
|
||||||
{
|
{
|
||||||
log_hint(_("provide a superuser with -S/--superuser or grant pg_checkpoint role to repmgr user"));
|
log_hint(_("provide a superuser with -S/--superuser or grant pg_checkpoint role to repmgr user"));
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user