What's happened with 1942 - Mailing list pgsql-hackers

From jose' soares
Subject What's happened with 1942
Date
Msg-id 36E39568.F11BE553@bo.nettuno.it
Whole thread Raw
Responses Re: [HACKERS] What's happened with 1942
List 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)




pgsql-hackers by date:

Previous
From: Kaare Rasmussen
Date:
Subject: Re: [HACKERS] Updatable views?
Next
From: The Hermit Hacker
Date:
Subject: Re: [HACKERS] int 8 on FreeBSD