repmgrd: write monitoring statistics

This commit is contained in:
Ian Barwick
2017-08-24 11:49:44 +09:00
parent 5dfb8a5b06
commit a659132ea4
4 changed files with 237 additions and 35 deletions

View File

@@ -242,7 +242,6 @@ main(int argc, char **argv)
config_file_options.monitoring_history = true;
}
fd = freopen("/dev/null", "r", stdin);
if (fd == NULL)
{
@@ -273,7 +272,6 @@ main(int argc, char **argv)
}
}
log_info(_("connecting to database \"%s\""),
config_file_options.conninfo);