creating new aggregate function - Mailing list pgsql-hackers

From Justin
Subject creating new aggregate function
Date
Msg-id 47C83CDF.3000407@emproshunts.com
Whole thread Raw
In response to Why we panic in pglz_decompress  (Zdenek Kotala <Zdenek.Kotala@Sun.COM>)
Responses Re: creating new aggregate function  (Sam Mason <sam@samason.me.uk>)
Re: creating new aggregate function  ("Webb Sprague" <webb.sprague@gmail.com>)
List pgsql-hackers
Need help and direction  creating new aggregate functions.

We need to add more average functions for both scientific and finical 
purposes

RMS for electrical measurement purposes
Mode for both electrical and finical
Weighted Average  finical  purposes
Generalized mean for electrical measurement purposes
Geometric mean for electrical measurement purposes
Harmonic mean for electrical measurement purposes

what would be the best way to create these new functions??




pgsql-hackers by date:

Previous
From: Olivier Thauvin
Date:
Subject: request feature: alter view add column (or something like)
Next
From: Sam Mason
Date:
Subject: Re: creating new aggregate function