Re: date_part('dow', '2001-03-25') ??!

From: Karel Zak <zakkr(at)zf(dot)jcu(dot)cz>
To: Dmitry Gercog <gda(at)omnet(dot)ru>
Cc: pgsql-bugs(at)postgresql(dot)org
Subject: Re: date_part('dow', '2001-03-25') ??!
Date: 2001-03-26 13:47:38
Message-ID: 20010326154738.C32708@ara.zf.jcu.cz
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

On Mon, Mar 26, 2001 at 03:43:49PM +0700, Dmitry Gercog wrote:
> Hi!
>
> Why?
>
> SELECT date_part('dow', '2001-03-24');
> return '6'
>
> and
>
> SELECT date_part('dow', '2001-03-25');
>
> return '6', but must be '0'!!!

Fixed in 7.1.

--
Karel Zak <zakkr(at)zf(dot)jcu(dot)cz>
http://home.zf.jcu.cz/~zakkr/

C, PostgreSQL, PHP, WWW, http://docs.linux.cz, http://mape.jcu.cz

In response to

Browse pgsql-bugs by date

  From Date Subject
Next Message Tom Lane 2001-03-26 14:50:23 Re: Dead locks
Previous Message Dmitry Gercog 2001-03-26 08:43:49 date_part('dow', '2001-03-25') ??!