Re: requesting features in PostgreSQL

From: Jeff Davis <list-pgsql-general(at)empires(dot)org>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, Andrew Gould <andrewgould(at)yahoo(dot)com>
Cc: Postgres Mailing List <pgsql-general(at)postgresql(dot)org>
Subject: Re: requesting features in PostgreSQL
Date: 2002-04-27 18:58:23
Message-ID: 200204271859.LAA04297@smtp.ucsd.edu
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

I was looking at the code. Why do you calculate "sumX2" in float8_accum?
Later you have a comment "ignore sumX2" in float8_avg().

Regards,
Jeff

On Friday 26 April 2002 11:30 am, Tom Lane wrote:
> Andrew Gould <andrewgould(at)yahoo(dot)com> writes:
> > Once I untar PostgreSQL's source, where can I find the
> > code for avg()? Will it have it's own file?
>
> The C code is in src/backend/utils/adt/float.c --- look at
> float8_accum() and float8_avg().
>
> regards, tom lane
>
> ---------------------------(end of broadcast)---------------------------
> TIP 4: Don't 'kill -9' the postmaster

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Randall Perry 2002-04-27 21:07:46 Date/time value 'current' no longer available
Previous Message Jeff Davis 2002-04-27 18:42:04 Re: requesting features in PostgreSQL