mirror of
https://github.com/EnterpriseDB/repmgr.git
synced 2026-03-23 07:06:30 +00:00
Fix some typos and replace the variable Inrecovery with
the function RecoveryInProgress() in the function sql_utils/repmgr_wrapper_funcs.c:last_xlog_replay_timestamp()
This commit is contained in:
@@ -21,7 +21,7 @@ last_xlog_replay_timestamp(PG_FUNCTION_ARGS)
|
||||
TimestampTz rTime;
|
||||
bool fromStream;
|
||||
|
||||
if (!InRecovery)
|
||||
if (!RecoveryInProgress())
|
||||
PG_RETURN_NULL();
|
||||
else
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user