Re: Time slowly goes out of sync Cygwin+windows+psotgres

Поиск
Список
Период
Сортировка
От Stephan Szabo
Тема Re: Time slowly goes out of sync Cygwin+windows+psotgres
Дата
Msg-id 20020829072125.Q96596-100000@megazone23.bigpanda.com
обсуждение исходный текст
Ответ на Time slowly goes out of sync Cygwin+windows+psotgres  (Aaron <aarmel@netagi.com>)
Список pgsql-admin
On Fri, 23 Aug 2002, Aaron wrote:

> Running postgres on cygwin and windows.
>
> Cygwin has the correct time.
> Windows has the same time as cygwin.
>
> Postgres slowly goes out of sync.  Over a month it ends up 10 minutes out.
>
> using e.g. "SELECT NOW()";

It might be possible that time() and gettimeofday() are returning
different times, we use the latter, I'd guess that what you're using
to get the date may use the former if it only gives integral seconds.



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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: Createlang problem.
Следующее
От: "Marc Mitchell"
Дата:
Сообщение: Interpretting WAL debug.