Skip to content
Snippets Groups Projects
Commit 3db963d7 authored by Magnus Hagander's avatar Magnus Hagander
Browse files

Use the correct eventlog severity for error

parent 7e6ec04d
Branches
Tags
No related merge requests found
...@@ -1444,7 +1444,7 @@ pgwin32_ServiceMain(DWORD argc, LPTSTR *argv) ...@@ -1444,7 +1444,7 @@ pgwin32_ServiceMain(DWORD argc, LPTSTR *argv)
write_eventlog(EVENTLOG_INFORMATION_TYPE, _("Waiting for server startup...\n")); write_eventlog(EVENTLOG_INFORMATION_TYPE, _("Waiting for server startup...\n"));
if (test_postmaster_connection(true) != PQPING_OK) if (test_postmaster_connection(true) != PQPING_OK)
{ {
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); pgwin32_SetServiceStatus(SERVICE_STOPPED);
return; return;
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment