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

From: Denis A Ustimenko <denis(at)oldham(dot)ru>
To: Joe Conway <mail(at)joeconway(dot)com>
Cc: pgsql-hackers(at)postgresql(dot)org
Subject: Re: droped out precise time calculations in src/interfaces/libpq/fe-connect.c
Date: 2002-10-14 04:48:27
Message-ID: 20021014044827.GA1196@store.oldham.ru
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Bruce Momjian 2002-10-14 04:49:34 Let's get 7.3 done
Previous Message Bruce Momjian 2002-10-14 04:34:52 Re: [HACKERS] ALTER TABLE ... ADD COLUMN