Here is an other set of strange bugs I've discovered relateing to dates.. SELECT date_part('day', ('2000-11-1 0:00'::datetime + '-1day'))::int4 AS days_in_month; days ---- 31 (1 row) SELECT date_part('day', (('2000-10-1 0:00'::datetime + '1 month') + '-1 day'))::int4 AS days_in_month; SELECT date_part('day', date_trunc('month', ('2000-10-1 0:00'::datetime + '1 month')) + '-1 day')::int4 AS days_in_month;
- [BUGS] Oleg Broytmann
- Re: [BUGS] Tom Lane
- Re: [BUGS] Oleg Broytmann
- Re: [BUGS] Kardos, Dr. Andreas
- Re: [BUGS] Oleg Broytmann
- [BUGS] Servio Medina
- Re: [BUGS] Tom Lane
- [BUGS] Ian Grant
- [BUGS] Alexei A.Romanenko
- Re: [BUGS] Tom Lane
- [BUGS] Darcy Buskermolen
- [BUGS] baley OUATTARA
- [BUGS] Alexei E Korneyev
- [BUGS] carol guinebert
- [BUGS] Vasileiadis Spyros
- [BUGS] Warwick Johnston
- [BUGS] pgsql-bugs
- Re: [BUGS] Tom Lane
- [BUGS] Nome real
- [BUGS] Re: Thomas Lockhart
- [BUGS] IGB.NET