Re: timestamp skew during 7.4 -> 8.2 upgrade - Mailing list pgsql-general

From Tom Lane
Subject Re: timestamp skew during 7.4 -> 8.2 upgrade
Date
Msg-id 2154.1186847883@sss.pgh.pa.us
Whole thread Raw
In response to Re: timestamp skew during 7.4 -> 8.2 upgrade  (Louis-David Mitterrand <vindex+lists-pgsql-general@apartia.org>)
List pgsql-general
Louis-David Mitterrand <vindex+lists-pgsql-general@apartia.org> writes:
> But, I found something fishy that particular server:
>     uruk:~# hwclock
>     Sat 11 Aug 2007 10:47:36 AM CEST  -0.630123 seconds
>     uruk:~# hwclock --utc
>     Sat 11 Aug 2007 12:47:39 PM CEST  -0.600430 seconds

If this is PC-type hardware, I'd guess that something is confused about
whether the hardware clock is running in UTC or local time.

> Is postgres using the same time reference as "hwclock" or "date" ?

I'd expect PG to get the same results as "date".  I have no idea what
"hwclock" is really doing.

            regards, tom lane

pgsql-general by date:

Previous
From: "Pavel Stehule"
Date:
Subject: Re: why it doesn't work? referential integrity
Next
From: Stephan Szabo
Date:
Subject: Re: why it doesn't work? referential integrity