log_crit() is more appropriate

This commit is contained in:
Christian Kruse
2014-01-21 15:23:20 +01:00
parent 649086e5e4
commit 84466ecca5

View File

@@ -1327,7 +1327,7 @@ update_shared_memory(char *last_wal_standby_applied)
else if (strcmp(PQgetvalue(res, 0, 0), "f") == 0)
{
/* this surely is more than enough reason to exit */
log_warning(_("Cannot update this standby's shared memory, maybe shared_preload_libraries=repmgr_funcs is not set?\n"));
log_crit(_("Cannot update this standby's shared memory, maybe shared_preload_libraries=repmgr_funcs is not set?\n"));
exit(ERR_BAD_CONFIG);
}