From: Magnus Hagander Date: Thu, 9 Jun 2011 16:21:38 +0000 (+0200) Subject: Use the correct eventlog severity for error X-Git-Tag: REL8_4_9~62 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=58daae1f25a6469a284210afa87e9c961f78dead;p=thirdparty%2Fpostgresql.git Use the correct eventlog severity for error --- diff --git a/src/bin/pg_ctl/pg_ctl.c b/src/bin/pg_ctl/pg_ctl.c index aa5fe727cc5..d8a11df4339 100644 --- a/src/bin/pg_ctl/pg_ctl.c +++ b/src/bin/pg_ctl/pg_ctl.c @@ -1227,7 +1227,7 @@ pgwin32_ServiceMain(DWORD argc, LPTSTR *argv) write_eventlog(EVENTLOG_INFORMATION_TYPE, _("Waiting for server startup...\n")); if (test_postmaster_connection(true) == false) { - write_eventlog(EVENTLOG_INFORMATION_TYPE, _("Timed out waiting for server startup\n")); + write_eventlog(EVENTLOG_ERROR_TYPE, _("Timed out waiting for server startup\n")); pgwin32_SetServiceStatus(SERVICE_STOPPED); return; }