What's happened with 1942

From: "jose' soares" <sferac(at)bo(dot)nettuno(dot)it>
To: hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: What's happened with 1942
Date: 1999-03-08 09:16:24
Message-ID: 36E39568.F11BE553@bo.nettuno.it
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Hi all,

This seems like a bug...

prova=> select date '1941-01-01' + interval '1 year';
?column?
----------------------
1942-01-01 00:00:00+02
(1 row)

prova=> select date '1942-01-01' + interval '1 year';
?column?
----------------------
1942-12-31 23:00:00+01 <---------????????????????
(1 row)

prova=> select date '1943-01-01' + interval '1 year';
?column?
----------------------
1944-01-01 00:00:00+01
(1 row)

Any ideas?
--
- Jose' -

"No other success in life can compensate for failure in the home" (David
O. McKay)

Browse pgsql-hackers by date

  From Date Subject
Next Message Kaare Rasmussen 1999-03-08 09:29:24 Re: [HACKERS] Updatable views?
Previous Message Jan Wieck 1999-03-08 08:38:16 Re: [HACKERS] Updatable views?