Re: Postgresql 7.0 bug

Karl DeBisschop <kdebisschop@h00a0cc3b7988.ne.mediaone.net>

From: Karl DeBisschop <kdebisschop@h00a0cc3b7988.ne.mediaone.net>
To: root <root@esc.rosemere.qc.ca>
Cc: pgsql-bugs@postgresql.org
Date: 2000-05-29T13:30:54Z
Lists: pgsql-bugs
root wrote:
> 
> When I execute from psql:
>         SELECT '2000-04-03'::timestamp - '2000-04-02'::timestamp;
> 
> I get:
>          ?column?
>         ----------
>          23:00
>         (1 row)
> 
> Why april 2nd, 2000 don't last 1 day (or 24 hours) ?

Because April 2nd was the beginning of daylight savings time.

Karl DeBisschop
www.infoplease.com