mirror of
https://github.com/postgres/postgres.git
synced 2026-06-10 09:10:33 -04:00
Use the correct eventlog severity for error
This commit is contained in:
parent
7e6ec04d96
commit
3db963d760
1 changed files with 1 additions and 1 deletions
|
|
@ -1444,7 +1444,7 @@ pgwin32_ServiceMain(DWORD argc, LPTSTR *argv)
|
|||
write_eventlog(EVENTLOG_INFORMATION_TYPE, _("Waiting for server startup...\n"));
|
||||
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);
|
||||
return;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue