Re: now() time off - Mailing list pgsql-general

From Scott Marlowe
Subject Re: now() time off
Date
Msg-id 1140648395.5777.48.camel@state.g2switchworks.com
Whole thread Raw
In response to now() time off  (John McCawley <nospam@hardgeus.com>)
Responses Re: now() time off  ("Jim C. Nasby" <jnasby@pervasive.com>)
List pgsql-general
On Wed, 2006-02-22 at 16:36, John McCawley wrote:
> Earlier this week when I logged into my database, I just so happened to
> notice that the value for now() was six hours off of the time reported
> by the operating system when using the date command from the command
> line.  How is this possible?  I rebooted the server and the problem
> magically went away.  I am quite certain that I didn't modify anything
> in the database that should cause this problem.  It turns out that that
> the now() time has been off for some time, and resulted in quite a bit
> of corrupted data.  What exactly should I do in the future to keep this
> from happening, or where should I look for clues?

Sounds like a time zone issue.  I'd start looking there.

pgsql-general by date:

Previous
From: John McCawley
Date:
Subject: now() time off
Next
From: "Jim C. Nasby"
Date:
Subject: Re: now() time off