Re: BUG #4528: (rounding?) error with some timezone names

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: "chris wood" <chrisj(dot)wood(at)sympatico(dot)ca>
Cc: pgsql-bugs(at)postgresql(dot)org
Subject: Re: BUG #4528: (rounding?) error with some timezone names
Date: 2008-11-13 14:54:42
Message-ID: 18680.1226588082@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

"chris wood" <chrisj(dot)wood(at)sympatico(dot)ca> writes:
> postgresbugs=# select '2008-01-09 07:00:00-00'::timestamptz at time zone
> 'right/Pacific/Wake' ;
> timezone
> ---------------------
> 2008-01-09 18:59:37 <<<<<<<<<???????
> (1 row)

The "right" timezones take leap seconds into account, so this isn't
surprising.

(We don't actually support leap seconds, so I wonder whether we
shouldn't filter those zones out of the view. They're not there at all
if you set up Postgres to use an internal tz database, but I suppose we
have to accept that they're likely to be present in a system-supplied tz
database.)

regards, tom lane

In response to

Browse pgsql-bugs by date

  From Date Subject
Next Message Tom Lane 2008-11-13 15:28:47 Re: BUG #4527: Prepare of large multirow insert fails without error
Previous Message chris wood 2008-11-13 14:44:38 BUG #4528: (rounding?) error with some timezone names