| От | Tom Lane |
|---|---|
| Тема | Re: gettimeofday cause crash on Windows |
| Дата | |
| Msg-id | 18265.1423762964@sss.pgh.pa.us обсуждение исходный текст |
| Ответ на | Re: gettimeofday cause crash on Windows (Alvaro Herrera <alvherre@2ndquadrant.com>) |
| Список | pgsql-bugs |
Alvaro Herrera <alvherre@2ndquadrant.com> writes:
> I wonder if it would work to set the function initially to the
> initialization function, so that on the first call the Precise version,
> if it exists, is detected (or the stock version otherwise) and set as
> the function to call for later -- without requiring a jump in every
> subsequent execution of gettimeofday(), of course. The initialization
> function itself would have to return the value returned by
> GetSystemTimePreciseAsFileTime, of course.
+1. The idea that we are going to alter the calling requirements around a
POSIX-standard function is utterly horrible. It will break third-party
code, very probably.
regards, tom lane
В списке pgsql-bugs по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера