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:27:11 +0200
commit58daae1f25a6469a284210afa87e9c961f78dead (patch)
treef80780690de8070519c98fa6b9f8803709f5a40f
parent63784d792b6ac9711b222687884f3a52e1f6b36f (diff)
downloadpostgresql-58daae1f25a6469a284210afa87e9c961f78dead.tar.gz
postgresql-58daae1f25a6469a284210afa87e9c961f78dead.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 aa5fe727cc5..d8a11df4339 100644
--- a/src/bin/pg_ctl/pg_ctl.c
+++ b/src/bin/pg_ctl/pg_ctl.c
@@ -1227,7 +1227,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;
}