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()
This commit is contained in:
postgres
2010-09-14 03:05:28 -05:00
parent 7ec3485811
commit d728ef0eef
3 changed files with 3 additions and 3 deletions

View File

@@ -31,7 +31,7 @@ parse_config(char *cluster_name, int *node, char *conninfo)
/* Copy into correct entry in parameters struct */
if (strcmp(name, "cluster") == 0)
*node = atoi(value);
strncpy (cluster_name, value, MAXLEN);
else if (strcmp(name, "node") == 0)
*node = atoi(value);
else if (strcmp(name, "conninfo") == 0)