Skip site navigation (1) Skip section navigation (2)

Re: [HACKERS] Interval aggregate regression failure

From: Bruce Momjian <bruce(at)momjian(dot)us>
To: Michael Glaesemann <grzm(at)seespotcode(dot)net>
Cc: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, Michael Paesold <mpaesold(at)gmx(dot)at>, PostgreSQL-patches <pgsql-patches(at)postgresql(dot)org>
Subject: Re: [HACKERS] Interval aggregate regression failure
Date: 2006-08-30 17:09:04
Message-ID: 200608301709.k7UH95t01675@momjian.us (view raw or flat)
Thread:
Lists: pgsql-hackerspgsql-patches
Michael Glaesemann wrote:
> 
> On Aug 30, 2006, at 12:50 , Bruce Momjian wrote:
> 
> > Yea, I see that -122:23:60.00.
> 
> After applying your patch, I believe that on my machine it's the  
> contribution from the day component that is producing the 23:60.00.  
> For example,
> 
> select interval '-12 days' * 0.3;
>         ?column?
> ----------------------
> -3 days -14:23:60.00
> (1 row)
> 
> I think some kind of rounding needs to be done to the day  
> contribution as well. I'm continuing to work on it, but wanted to get  
> this out there.

Please test with my new patch and let me know how it looks.  Thanks.

-- 
  Bruce Momjian   bruce(at)momjian(dot)us
  EnterpriseDB    http://www.enterprisedb.com

  + If your life is a hard drive, Christ can be your backup. +

In response to

pgsql-hackers by date

Next:From: Tom LaneDate: 2006-08-30 17:11:57
Subject: Re: [COMMITTERS] pgsql: Second try committing the path changes.
Previous:From: Bruce MomjianDate: 2006-08-30 17:08:45
Subject: Re: [HACKERS] Interval aggregate regression failure

pgsql-patches by date

Next:From: Jim C. NasbyDate: 2006-08-30 17:36:32
Subject: Re: [HACKERS] Performance testing of COPY (SELECT) TO
Previous:From: Bruce MomjianDate: 2006-08-30 17:08:45
Subject: Re: [HACKERS] Interval aggregate regression failure

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group