]> granicus.if.org Git - postgresql/commitdiff
Use the correct eventlog severity for error
authorMagnus Hagander <magnus@hagander.net>
Thu, 9 Jun 2011 16:21:38 +0000 (18:21 +0200)
committerMagnus Hagander <magnus@hagander.net>
Thu, 9 Jun 2011 16:26:29 +0000 (18:26 +0200)
src/bin/pg_ctl/pg_ctl.c

index 7714815b0587a1e61ac9f683b9a571eef15cb9ca..ffd014ea53eb7a4986bb269590f726a3685fa5d0 100644 (file)
@@ -1299,7 +1299,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;
                }