creating new aggregate function

From: Justin <justin(at)emproshunts(dot)com>
To: PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org>
Subject: creating new aggregate function
Date: 2008-02-29 17:11:59
Message-ID: 47C83CDF.3000407@emproshunts.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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??

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Sam Mason 2008-02-29 17:37:38 Re: creating new aggregate function
Previous Message Olivier Thauvin 2008-02-29 16:35:03 request feature: alter view add column (or something like)