date_part bug

From: Salvador Mainé <salvamaine(at)yahoo(dot)com>
To: pgsql-bugs(at)postgresql(dot)org
Subject: date_part bug
Date: 2001-03-28 10:50:46
Message-ID: 3AC1C206.8826B9D5@yahoo.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

Hello:

I'm using postgres 7.0.2. When I use date_part('day', date) sometimes I
get wrong values. Ie:
and date_part('day', '1999-3-28')=27

and date_part('day', '2000-3-26')=25

Is it a bug?

--
Salvador Mainé

Responses

Browse pgsql-bugs by date

  From Date Subject
Next Message pgsql-bugs 2001-03-28 13:30:39 7.0.3 max function
Previous Message Andriy I Pilipenko 2001-03-28 09:56:13 bug in PLPGSQL