projects
/
users
/
bernd
/
postgres.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7e6ec04
)
Use the correct eventlog severity for error
author
Magnus Hagander
<
[email protected]
>
Thu, 9 Jun 2011 16:21:38 +0000
(18:21 +0200)
committer
Magnus Hagander
<
[email protected]
>
Thu, 9 Jun 2011 16:25:05 +0000
(18:25 +0200)
src/bin/pg_ctl/pg_ctl.c
patch
|
blob
|
blame
|
history
diff --git
a/src/bin/pg_ctl/pg_ctl.c
b/src/bin/pg_ctl/pg_ctl.c
index 78f4cd3e54f28d92a8ff028df72946f56e16df76..8172d076cfbed57bee1ee879a5cac8c775c2d899 100644
(file)
--- 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;
}