mirror of
https://github.com/levinsv/pgadmin3.git
synced 2026-05-15 14:15:49 -06:00
change pg_xlog to pg_wal
This commit is contained in:
parent
d5d94bedc5
commit
4e9958e5b3
2 changed files with 9 additions and 5 deletions
|
|
@ -1460,6 +1460,7 @@ bool pgServer::PauseReplay()
|
|||
{
|
||||
SetReplayPaused(true);
|
||||
wxString sql = wxT("SELECT pg_xlog_replay_pause()");
|
||||
if (conn->BackendMinimumVersion(10, 0)) sql = wxT("SELECT pg_wal_replay_pause()");
|
||||
return conn->ExecuteVoid(sql);
|
||||
}
|
||||
|
||||
|
|
@ -1468,6 +1469,7 @@ bool pgServer::ResumeReplay()
|
|||
{
|
||||
SetReplayPaused(false);
|
||||
wxString sql = wxT("SELECT pg_xlog_replay_resume()");
|
||||
if (conn->BackendMinimumVersion(10, 0)) sql = wxT("SELECT pg_wal_replay_resume()");
|
||||
return conn->ExecuteVoid(sql);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue