Commit Graph

864 Commits

Author SHA1 Message Date
Jaime Casanova
3b8e8183cc Changes when trying to compile:
- Fix Makefile to include check_dir.c
- Add function mkdir_p that was taken from initdb.c
- Replace some strcpy for assignment to const char * to keep compiler quite
- Add STANDBY_NORMAL to initialize action
- fix typos and add headers needed to compile
2010-09-29 05:13:23 -05:00
Jaime Casanova
c809558c3f Merge branch 'master' of git.2ndquadrant.it:repmgr 2010-09-28 17:33:09 -05:00
Jaime Casanova
ae628d0527 Changes in repmgr are:
- Add checks to test if the directories are useful for us (basically
  the checks follow the same approach as initdb does)
- Add connection parameters
- Better use of rsync
- Some more clean up of code

Changes in repmgrd are:
- Add a parameter to allow the user specify an repmgr.conf
- Change the name of the repl_status table for repl_monitor
- Create a repl_status view that also shows lag in time
- Some more clean up of code
2010-09-28 17:28:56 -05:00
postgres
44a3548c2e Add connection options and a lot of validations, i still
have to complete the use of the connection options but
the program should still be usable.
2010-09-22 05:08:44 -05:00
postgres
93417715d4 Add docs, fix Makefile and fix some bugs and typos 2010-09-17 07:14:52 -05:00
postgres
707c501b24 Add repmgr client command. 2010-09-15 15:38:54 -05:00
postgres
98d7471d15 Change the name from repmgr to repmgrd. this is a daemon
that will do the monitoring.
2010-09-14 20:42:28 -05:00
postgres
362f931355 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
2010-09-14 10:25:51 -05:00
postgres
d728ef0eef 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()
2010-09-14 03:05:28 -05:00
postgres
7ec3485811 Lag is now monitored in bytes, we show replication lag
and applied lag
2010-09-14 01:40:59 -05:00
postgres
7ad17f7f48 Dropping phase2 from repmgr, it now is an independent tool
called pg_blender
2010-09-13 11:12:41 -05:00
Simon Riggs
39b452e259 Test change to see if I have access to repository 2010-09-08 20:54:58 +01:00
postgres
9f61ea6c5c In 9.0beta3 the function GetLatestXLogTime() was removed
and replaced by GetLatestXTime() but this function cannot
be called from external programs.
Instead now we are using GetXLogReceiptTime() which tells
us what was the last time we got a WAL record by streaming
or file.
2010-07-30 11:39:29 -05:00
postgres
a12e719259 Initial commit 2010-06-17 10:43:35 -05:00