pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Aaron Bono <postgresql@aranya.com>
To: Joe <dev@freedomcircle.net>
Cc: Tom Lane <tgl@sss.pgh.pa.us>
Cc: Jeremiah Elliott <geek00@gmail.com>
Cc: pgsql-sql@postgresql.org
Subject: Re: avg(interval)
Date: Mon, 26 Jun 2006 19:53:09 -0500
Message-ID: <bf05e51c0606261753r68d5b2b3s1021fdc0a382614@mail.gmail.com> (raw)
In-Reply-To: <44A05BD4.60900@freedomcircle.net>
References: <17eca7f50606261422m77395b89ufb713720defb8b42@mail.gmail.com>
	<23243.1151357823@sss.pgh.pa.us>
	<44A05BD4.60900@freedomcircle.net>

Right, the 23 is just less than 1 day, not 23 days.

The good news: your query is working!

-Aaron

On 6/26/06, Joe <dev@freedomcircle.net> wrote:
>
> Tom Lane wrote:
> > "Jeremiah Elliott" <geek00@gmail.com> writes:
> >> however if i don't average them here is what i get:
> >> "7 days 22:24:50.62311";"*2420"
> >> "9 days 22:21:02.683393";"*2420"
> >> "23:21:35.458459";"*2420"
> >> "4 days 22:47:41.749756";"*2420"
> >> "3 days 06:05:59.456947";"*2420"
> >
> >> which should average to just over nine days -
> >
> > Uh ... how do you arrive at that conclusion?  I haven't done the math,
> > but by eyeball an average of four-something days doesn't look out of
> > line for those values.
>
> It seems he's calculating (7 + 9 + 23 + 4 + 3) / 5 ...
>
> Joe
>
>

view thread (6+ messages)  latest in thread

Message-ID: <bf05e51c0606261753r68d5b2b3s1021fdc0a382614@mail.gmail.com>
Permalink:  ../bf05e51c0606261753r68d5b2b3s1021fdc0a382614@mail.gmail.com/
Also on:    postgresql.org/message-id/bf05e51c0606261753r68d5b2b3s1021fdc0a382614@mail.gmail.com

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-sql@postgresql.org
  Cc: postgresql@aranya.com, dev@freedomcircle.net, tgl@sss.pgh.pa.us, geek00@gmail.com
  Subject: Re: avg(interval)
  In-Reply-To: <bf05e51c0606261753r68d5b2b3s1021fdc0a382614@mail.gmail.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox