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:
@@ -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())));
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user