mirror of
https://git.postgresql.org/git/postgresql.git
synced 2026-02-20 21:37:11 +08:00
Use the correct eventlog severity for error
This commit is contained in:
@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user