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:
postgres
2010-09-14 03:05:28 -05:00
parent 7ec3485811
commit d728ef0eef
3 changed files with 3 additions and 3 deletions

View File

@@ -21,7 +21,7 @@ last_xlog_replay_timestamp(PG_FUNCTION_ARGS)
TimestampTz rTime;
bool fromStream;
if (!InRecovery)
if (!RecoveryInProgress())
PG_RETURN_NULL();
else
{