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

Поиск
Список
Период
Сортировка
От Joe Conway
Тема Re: droped out precise time calculations in src/interfaces/libpq/fe-connect.c
Дата
Msg-id 3DAA5D4C.5010402@joeconway.com
обсуждение исходный текст
Ответ на Re: droped out precise time calculations in src/interfaces/libpq/fe-connect.c  (Bruce Momjian <pgman@candle.pha.pa.us>)
Ответы Re: droped out precise time calculations in src/interfaces/libpq/fe-connect.c  (Denis A Ustimenko <denis@oldham.ru>)
Re: droped out precise time calculations in src/interfaces/libpq/fe-connect.c  (Bruce Momjian <pgman@candle.pha.pa.us>)
Список 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



В списке pgsql-hackers по дате отправления:

Предыдущее
От: "Shridhar Daithankar"
Дата:
Сообщение: Re: Peer to peer replication of Postgresql databases
Следующее
От: Anuradha Ratnaweera
Дата:
Сообщение: Re: Peer to peer replication of Postgresql databases