Apply log should be pg_xlog_receive_location() - pg_xlog_replay_location().

Also remove get_last_xlog_replay_timestamp() function and the sql_utils dir,
we can readded later if we need.
We don't need the column last_wal_standby_timestamp in repl_status, so
remove it
This commit is contained in:
postgres
2010-09-14 10:08:45 -05:00
parent d728ef0eef
commit 362f931355
7 changed files with 7 additions and 82 deletions

19
INSTALL
View File

@@ -5,19 +5,13 @@ This module is for monitor a cluster, to install follow next steps
On Primary:
1) Install last_xlog_replay_timestamp() function
2) Create tables for repmgr configuration and monitor (see repmgr.sql)
3) Edit repmgr.conf
1) Create tables for repmgr configuration and monitor (see repmgr.sql)
2) Edit repmgr.conf
On Standby:
1) Install xlog_replay_time module
NOTE: this should be done before the standby starts for the first time,
the reason is that when the standby tries to replay WAL segment
where the function was created this file should exist or it will
be an error.
2) Start replica
3) Edit repmgr.conf
1) Start replica
2) Edit repmgr.conf
@@ -28,11 +22,6 @@ make USE_PGXS=1
make install USE_PGXS=1
Installing last_xlog_replay_timestamp() function
-------------------------------------------------
psql -f $PGDIR/share/contrib/xlog_replay_time.sql
repmgr.conf
------------