Re: gettimeofday cause crash on Windows

Поиск
Список
Период
Сортировка
Искать
От
Tom Lane
Тема
Re: gettimeofday cause crash on Windows
Дата
Msg-id
18265.1423762964@sss.pgh.pa.us
Ответ на
Список
Дерево обсуждения
gettimeofday cause crash on Windows Asif Naeem <anaeem.it@gmail.com>
Re: gettimeofday cause crash on Windows Michael Paquier <michael.paquier@gmail.com>
Re: gettimeofday cause crash on Windows Andres Freund <andres@2ndquadrant.com>
Re: gettimeofday cause crash on Windows Michael Paquier <michael.paquier@gmail.com>
Re: gettimeofday cause crash on Windows Andres Freund <andres@2ndquadrant.com>
Re: gettimeofday cause crash on Windows Asif Naeem <anaeem.it@gmail.com>
Re: gettimeofday cause crash on Windows Alvaro Herrera <alvherre@2ndquadrant.com>
Re: gettimeofday cause crash on Windows Tom Lane <tgl@sss.pgh.pa.us>
Re: gettimeofday cause crash on Windows Andres Freund <andres@2ndquadrant.com>
Re: gettimeofday cause crash on Windows Asif Naeem <anaeem.it@gmail.com>
Re: gettimeofday cause crash on Windows Michael Paquier <michael.paquier@gmail.com>
Re: gettimeofday cause crash on Windows Robert Haas <robertmhaas@gmail.com>
Re: gettimeofday cause crash on Windows Robert Haas <robertmhaas@gmail.com>
Re: gettimeofday cause crash on Windows Robert Haas <robertmhaas@gmail.com>
Re: gettimeofday cause crash on Windows Tom Lane <tgl@sss.pgh.pa.us>
Re: gettimeofday cause crash on Windows Asif Naeem <anaeem.it@gmail.com>
Alvaro Herrera  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 по дате отправления
От: Alvaro Herrera
Дата:
От: Andres Freund
Дата:
FAQ