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

Поиск
Список
Период
Сортировка
От Denis A Ustimenko
Тема Re: droped out precise time calculations in src/interfaces/libpq/fe-connect.c
Дата
Msg-id 20021014064043.GA538@denis.oldham.ru
обсуждение исходный текст
Ответ на Re: droped out precise time calculations in src/interfaces/libpq/fe-connect.c  (Joe Conway <mail@joeconway.com>)
Ответы Re: droped out precise time calculations in src/interfaces/libpq/fe-connect.c  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-hackers
On Sun, Oct 13, 2002 at 10:59:40PM -0700, Joe Conway wrote:
> 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).

Actually we have the state machine in connectDBComplete() and the timeout is
set for machine as the whole. Therefore if 1 second timeout is seted for the
connectDBComplete() the timeout of particualr iteration of loop can be less
then 1 second. 

-- 
Regards
Denis


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

Предыдущее
От: Anuradha Ratnaweera
Дата:
Сообщение: Re: Peer to peer replication of Postgresql databases
Следующее
От: Alessio Bragadini
Дата:
Сообщение: Re: Changing Column Order (Was Re: MySQL vs PostgreSQL.)