Phil Steinke (lintec@clarkhall.ca) reports a bug with a severity of 2
The lower the number the more severe it is.
Short Description
date_part returns wrong day for 1974-04-28
Long Description
The date_part function is returning the wrong value for the date 1974-04-28. It seems to work with other similar dates
(+/-a day, +/- a year).
I'm using:
version
---------------------------------------------------------------
PostgreSQL 7.0.3 on i686-pc-linux-gnu, compiled by gcc 2.95.2
Specifically, the postgresql_7.0.3-4 package from Debian unstable (sid), on a Pentium 100 with 32 megs of RAM (10MB
stillfree though).
Feel free to contact me for more information.
Sample Code
select date_part('day', date('1974-04-28'));
No file was uploaded with this report