>> CREATE AGGREGATE array_accum (anyelement) >> >> CREATE OR REPLACE FUNCTION array_enum(anyarray) > > Have you actually tried these functions on large data sets?
No. :-) > They're not in the same performance league as intagg. Your array_accum is > O(n^2)! It's not "mine" - I copied it from the official PostgreSQL documentation and used it because it did what I needed! If it's a bad way to do it, that's certainly an argument for keeping (or maybe generalizing) intagg. ...Robert -- Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-hackers