aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMagnus Hagander <magnus@hagander.net>2011-06-09 18:21:38 +0200
committerMagnus Hagander <magnus@hagander.net>2011-06-09 18:25:05 +0200
commit3db963d760f93ac4b695b0c4a1e22231d30cb370 (patch)
tree64118e2b661f7db21ae14f6dd433f03907c1c9a6
parent7e6ec04d964b03e836c3c19b5601e889b6634f05 (diff)
downloadpostgresql-3db963d760f93ac4b695b0c4a1e22231d30cb370.tar.gz
postgresql-3db963d760f93ac4b695b0c4a1e22231d30cb370.zip
Use the correct eventlog severity for error
-rw-r--r--src/bin/pg_ctl/pg_ctl.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/bin/pg_ctl/pg_ctl.c b/src/bin/pg_ctl/pg_ctl.c
index 78f4cd3e54f..8172d076cfb 100644
--- a/src/bin/pg_ctl/pg_ctl.c
+++ b/src/bin/pg_ctl/pg_ctl.c
@@ -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;
}