RE: date_part bug?

From: "Trewern, Ben" <Ben(dot)Trewern(at)mowlem(dot)com>
To: "'salva(at)ronincoders(dot)com'" <salva(at)ronincoders(dot)com>, pgsql-admin(at)postgresql(dot)org
Subject: RE: date_part bug?
Date: 2001-03-28 12:50:54
Message-ID: 996802F75C3CD411B424001083FA445B05955C@CET_PONXX_FP001
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

Are you using Mandrake 7.x. It seems to have some problems with rounding
and dates because of its use of certain compiler settings. If you are, try
using the Postgres 7.0.3 RPMs from one of the ftp mirrors. They seem to
work correctly.

Regards

Ben

> -----Original Message-----
> From: Salvador Mainé [mailto:salvamaine(at)yahoo(dot)com]
> Sent: 28 March 2001 11:51
> To: pgsql-admin(at)postgresql(dot)org
> Subject: [ADMIN] date_part bug?
>
>
> 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é
>
> ---------------------------(end of
> broadcast)---------------------------
> TIP 2: you can get off all lists at once with the unregister command
> (send "unregister YourEmailAddressHere" to
> majordomo(at)postgresql(dot)org)
>

Browse pgsql-admin by date

  From Date Subject
Next Message Tom Lane 2001-03-28 15:22:56 Re: pg_dump potential bug
Previous Message J.H.M. Dassen Ray 2001-03-28 12:44:11 Re: A crashing query