Re: [HACKERS] AGREGATE FUNCTIONS

2006-06-06 Thread Mark Woodward
> Hello, I would like to know where in the source-code of postgres is > located the code of the aggregate functions min, max, avg. > I wish to develop more statistical aggregate functions, and I prefer to > use C than to write then in the PL/R. There is a library in "contrib" called "intagg." I wr

Re: [HACKERS] AGREGATE FUNCTIONS

2006-06-06 Thread Joshua D. Drake
Roberto Rezende de Assis wrote: Hello, I would like to know where in the source-code of postgres is located the code of the aggregate functions min, max, avg. I wish to develop more statistical aggregate functions, and I prefer to use C than to write then in the PL/R. http://projects.commandp

Re: [HACKERS] AGREGATE FUNCTIONS

2006-06-06 Thread Heikki Linnakangas
On Tue, 6 Jun 2006, Roberto Rezende de Assis wrote: Hello, I would like to know where in the source-code of postgres is located the code of the aggregate functions min, max, avg. They're in src/backend/utils/adt/numeric.c I wish to develop more statistical aggregate functions, and I prefer to

[HACKERS] AGREGATE FUNCTIONS

2006-06-06 Thread Roberto Rezende de Assis
Hello, I would like to know where in the source-code of postgres is located the code of the aggregate functions min, max, avg. I wish to develop more statistical aggregate functions, and I prefer to use C than to write then in the PL/R. Thanks