Skip site navigation (1) Skip section navigation (2)

Re: dst 2007?

From: Michael Fuhr <mike(at)fuhr(dot)org>
To: Ray Stell <stellr(at)cns(dot)vt(dot)edu>
Cc: pgsql-admin(at)postgresql(dot)org
Subject: Re: dst 2007?
Date: 2007-02-19 23:01:30
Message-ID: (view raw, whole thread or download thread mbox)
Lists: pgsql-admin
On Mon, Feb 19, 2007 at 03:06:32PM -0500, Ray Stell wrote:
> in the pg share dir:
> $ /usr/sbin/zdump -v EST5EDT | grep 2007

On many platforms, regardless of what directory you're in, the above
command will read timezone files from a standard directory like
/usr/share/zoneinfo, not from the current directory.  Even a relative
path like ./EST5EDT won't work; you'll need to give the full path:

zdump -v /full/path/EST5EDT

I'd suggest doing a process trace (ktrace, strace, truss, etc.) to
check what timezone file zdump is reading.  And if your system
stores its local timezone in /etc/localtime, don't forget to check
that file as well -- otherwise you might discover that your system
uses the correct DST dates for every timezone except the one you're

Michael Fuhr

In response to

  • dst 2007? at 2007-02-19 20:06:32 from Ray Stell

pgsql-admin by date

Next:From: Tom LaneDate: 2007-02-20 02:40:09
Subject: Re: log_duration?
Previous:From: Ray StellDate: 2007-02-19 20:06:32
Subject: dst 2007?

Privacy Policy | About PostgreSQL
Copyright © 1996-2017 The PostgreSQL Global Development Group