Bruce Momjian [EMAIL PROTECTED] writes:
! /* WaitForSingleObjectEx() uses milliseconds */
! waittime = timerCommArea.value.it_value.tv_usec
/ 1000 + timerCommArea.value.it_value.tv_sec * 1000;
Seems like this probably ought to round up
Tom Lane wrote:
Bruce Momjian [EMAIL PROTECTED] writes:
! /* WaitForSingleObjectEx() uses milliseconds */
! waittime = timerCommArea.value.it_value.tv_usec
/ 1000 + timerCommArea.value.it_value.tv_sec * 1000;
Seems like this probably
Bruce Momjian [EMAIL PROTECTED] writes:
Tom Lane wrote:
Seems like this probably ought to round up not down:
I thought about that, but because statement_timeout is in millis, and
not micros, we can't have a value that gets rounded down. I am
thinking a cleaner solution is to check for secs