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

From: Joe Conway <mail(at)joeconway(dot)com>
To: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
Cc: Denis A Ustimenko <denis(at)oldham(dot)ru>, pgsql-hackers(at)postgresql(dot)org
Subject: Re: droped out precise time calculations in src/interfaces/libpq/fe-connect.c
Date: 2002-10-14 05:59:40
Message-ID: 3DAA5D4C.5010402@joeconway.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Bruce Momjian wrote:
> It could be argued that our seconds are not as exact as they could be
> with subsecond timing. Not sure it is worth it, but I can see the
> point.

Well, if we were specifying the timeout in microseconds instead of seconds, it
would make sense to have better resolution. But when you can only specify the
timeout in seconds, the internal time comparison doesn't need to be any more
accurate than seconds (IMHO anyway).

> are doing something with microseconds when we are not. Also, should we
> switch to a simple time() call, rather than gettimeofday()?
>

Already done -- that's what Denis is unhappy about.

Joe

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Shridhar Daithankar 2002-10-14 06:01:33 Re: Peer to peer replication of Postgresql databases
Previous Message Anuradha Ratnaweera 2002-10-14 05:55:49 Re: Peer to peer replication of Postgresql databases