Use the correct eventlog severity for error
authorMagnus Hagander <[email protected]>
Thu, 9 Jun 2011 16:21:38 +0000 (18:21 +0200)
committerMagnus Hagander <[email protected]>
Thu, 9 Jun 2011 16:27:11 +0000 (18:27 +0200)
src/bin/pg_ctl/pg_ctl.c

index aa5fe727cc56d3dea7cf41ca3cb8faf3c57e4071..d8a11df4339ad793e2b65691f2a36451eb9403fd 100644 (file)
@@ -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;
        }