From 376f93e0a1959c8f84980c051195d8ee262b2059 Mon Sep 17 00:00:00 2001 From: Magnus Hagander Date: Thu, 9 Jun 2011 18:21:38 +0200 Subject: [PATCH] Use the correct eventlog severity for error --- src/bin/pg_ctl/pg_ctl.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/bin/pg_ctl/pg_ctl.c b/src/bin/pg_ctl/pg_ctl.c index 448bb77be49..4f0daf5401d 100644 --- a/src/bin/pg_ctl/pg_ctl.c +++ b/src/bin/pg_ctl/pg_ctl.c @@ -1233,7 +1233,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; } -- 2.47.2