projects
/
users
/
c2main
/
postgres.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
63784d7
)
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:27:11 +0000
(18:27 +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 aa5fe727cc56d3dea7cf41ca3cb8faf3c57e4071..d8a11df4339ad793e2b65691f2a36451eb9403fd 100644
(file)
--- 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;
}