Skip to content

Commit cdd0888

Browse files
committed
Use the correct eventlog severity for error
1 parent 15fe829 commit cdd0888

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/bin/pg_ctl/pg_ctl.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1299,7 +1299,7 @@ pgwin32_ServiceMain(DWORD argc, LPTSTR *argv)
12991299
write_eventlog(EVENTLOG_INFORMATION_TYPE, _("Waiting for server startup...\n"));
13001300
if (test_postmaster_connection(true) == false)
13011301
{
1302-
write_eventlog(EVENTLOG_INFORMATION_TYPE, _("Timed out waiting for server startup\n"));
1302+
write_eventlog(EVENTLOG_ERROR_TYPE, _("Timed out waiting for server startup\n"));
13031303
pgwin32_SetServiceStatus(SERVICE_STOPPED);
13041304
return;
13051305
}

0 commit comments

Comments
 (0)