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
This commit is contained in:
Jaime Casanova
2010-09-28 17:23:15 -05:00
parent 44a3548c2e
commit ae628d0527
8 changed files with 399 additions and 106 deletions

9
check_dir.h Normal file
View File

@@ -0,0 +1,9 @@
/*
* check_dir.h
* Copyright (c) 2ndQuadrant, 2010
*
*/
int check_dir(const char *dir);
bool create_directory(const char *dir);
bool set_directory_permissions(const char *dir);