projects
/
postgresql.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
15fe829
)
Use the correct eventlog severity for error
author
Magnus Hagander
Thu, 9 Jun 2011 16:21:38 +0000
(18:21 +0200)
committer
Magnus Hagander
Thu, 9 Jun 2011 16:26:29 +0000
(18:26 +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 7714815b0587a1e61ac9f683b9a571eef15cb9ca..ffd014ea53eb7a4986bb269590f726a3685fa5d0 100644
(file)
--- a/
src/bin/pg_ctl/pg_ctl.c
+++ b/
src/bin/pg_ctl/pg_ctl.c
@@
-1299,7
+1299,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;
}