Re: droped out precise time calculations in src/interfaces/libpq/fe-connect.c - Mailing list pgsql-hackers

From Denis A Ustimenko
Subject Re: droped out precise time calculations in src/interfaces/libpq/fe-connect.c
Date
Msg-id 20021014044827.GA1196@store.oldham.ru
Whole thread Raw
In response to Re: droped out precise time calculations in src/interfaces/libpq/fe-connect.c  (Joe Conway <mail@joeconway.com>)
Responses Re: droped out precise time calculations in src/interfaces/libpq/fe-connect.c
List pgsql-hackers
On Sun, Oct 13, 2002 at 09:02:55PM -0700, Joe Conway wrote:
> Denis A Ustimenko wrote:
> >>Bruce, why have all precise time calculations been droped out in 1.206? 
> >>If there is no
> >>gettimeofday in win32?
> 
> gettimeofday was not portable to win32 (at least not that I could find) and 
> hence broke the win32 build of the clients.
> 

GetSystemTimeAsFileTime should help.

http://msdn.microsoft.com/library/default.asp?url=/library/en-us/sysinfo/base/getsystemtimeasfiletime.asp

-- 
Regards
Denis


pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: Disabling triggers (was Re: pgsql 7.2.3 crash)
Next
From: Bruce Momjian
Date:
Subject: Let's get 7.3 done