Re: requesting features in PostgreSQL - Mailing list pgsql-general

From Tom Lane
Subject Re: requesting features in PostgreSQL
Date
Msg-id 27472.1019845803@sss.pgh.pa.us
Whole thread Raw
In response to Re: requesting features in PostgreSQL  (Andrew Gould <andrewgould@yahoo.com>)
Responses Re: requesting features in PostgreSQL
List pgsql-general
Andrew Gould <andrewgould@yahoo.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

pgsql-general by date:

Previous
From: Andrew Gould
Date:
Subject: Re: requesting features in PostgreSQL
Next
From: Michael Loftis
Date:
Subject: Re: intel vs amd benchmark for pg server