1
0
mirror of https://github.com/postgres/postgres.git synced 2025-08-27 07:42:10 +03:00

Message style improvements of errmsg_internal() calls

This commit is contained in:
Peter Eisentraut
2011-07-05 22:56:55 +03:00
parent 3b3152853a
commit 9a0bdc8db5
7 changed files with 22 additions and 22 deletions

View File

@@ -97,7 +97,7 @@ setitimer(int which, const struct itimerval * value, struct itimerval * ovalue)
timerCommArea.event = CreateEvent(NULL, TRUE, FALSE, NULL);
if (timerCommArea.event == NULL)
ereport(FATAL,
(errmsg_internal("failed to create timer event: %d",
(errmsg_internal("could not create timer event: %d",
(int) GetLastError())));
MemSet(&timerCommArea.value, 0, sizeof(struct itimerval));
@@ -107,7 +107,7 @@ setitimer(int which, const struct itimerval * value, struct itimerval * ovalue)
timerThreadHandle = CreateThread(NULL, 0, pg_timer_thread, NULL, 0, NULL);
if (timerThreadHandle == INVALID_HANDLE_VALUE)
ereport(FATAL,
(errmsg_internal("failed to create timer thread: %d",
(errmsg_internal("could not create timer thread: %d",
(int) GetLastError())));
}