mirror of
https://github.com/EnterpriseDB/repmgr.git
synced 2026-03-23 07:06:30 +00:00
Compare commits
1 Commits
dev/v5.5.0
...
fix-local-
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
bccef890f0 |
@@ -5299,7 +5299,7 @@ do_standby_switchover(void)
|
||||
{
|
||||
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"));
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user