From: Stephan Szabo <sszabo@megazone23.bigpanda.com>
To: Aaron <aarmel@netagi.com>
Cc: pgsql-admin@postgresql.org
Subject: Re: Time slowly goes out of sync Cygwin+windows+psotgres
Date: Thu, 29 Aug 2002 07:22:53 -0700 (PDT)
Message-ID: <20020829072125.Q96596-100000@megazone23.bigpanda.com> (raw)
In-Reply-To: <3D658765.5080603@netagi.com>
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.
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-admin@postgresql.org
Cc: sszabo@megazone23.bigpanda.com, aarmel@netagi.com
Subject: Re: Time slowly goes out of sync Cygwin+windows+psotgres
In-Reply-To: <20020829072125.Q96596-100000@megazone23.bigpanda.com>
References: <3D658765.5080603@netagi.com> <20020829072125.Q96596-100000@megazone23.bigpanda.com>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox