Re: requesting features in PostgreSQL

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: requesting features in PostgreSQL
Дата
Msg-id 27472.1019845803@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: requesting features in PostgreSQL  (Andrew Gould <andrewgould@yahoo.com>)
Ответы Re: requesting features in PostgreSQL
Список 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 по дате отправления: