multi column aggregates? - Mailing list pgsql-general

From Creager, Robert S
Subject multi column aggregates?
Date
Msg-id 10FE17AD5F7ED31188CE002048406DE8514EF0@lsv-msg06.stortek.com
Whole thread Raw
List pgsql-general
Wondering if it's possible to create multi column (but a constant number of
columns per function) aggregate functions?  I'm looking to create a weighted
mean, which uses the sums and products... of 2 columns.  I have the SQL
statements to do what I want, but a two column aggregate in this case would
seem to work well.

Robert Creager
Senior Software Engineer
Client Server Library
303.673.2365 V
303.661.5379 F
888.912.4458 P
StorageTek
INFORMATION made POWERFUL



pgsql-general by date:

Previous
From: Tuckheng
Date:
Subject: "Relation does not exist" error
Next
From: "Richard Teviotdale"
Date:
Subject: OID's as Primary Keys