mirror of
https://github.com/EnterpriseDB/repmgr.git
synced 2026-03-26 00:26:30 +00:00
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:
4
config.c
4
config.c
@@ -8,10 +8,10 @@
|
||||
#include "repmgr.h"
|
||||
|
||||
void
|
||||
parse_config(char *cluster_name, int *node, char *conninfo)
|
||||
parse_config(const *char config_file, char *cluster_name, int *node, char *conninfo)
|
||||
{
|
||||
char *s, buff[256];
|
||||
FILE *fp = fopen (CONFIG_FILE, "r");
|
||||
FILE *fp = fopen (config_file, "r");
|
||||
|
||||
if (fp == NULL)
|
||||
return;
|
||||
|
||||
Reference in New Issue
Block a user