Lag is now monitored in bytes, we show replication lag

and applied lag
This commit is contained in:
postgres
2010-09-14 01:40:59 -05:00
parent 7ad17f7f48
commit 7ec3485811
3 changed files with 75 additions and 43 deletions

View File

@@ -19,7 +19,7 @@ Datum
last_xlog_replay_timestamp(PG_FUNCTION_ARGS)
{
TimestampTz rTime;
bool fromSource;
bool fromStream;
if (!InRecovery)
PG_RETURN_NULL();