Re: [GENERAL] Relative ordering in array aggregation

2011-02-09 Thread Tom Lane
praka...@uci.edu writes: > I'm using 8.3.3. I came across the array_accum aggregate function in > the docs: > http://www.postgresql.org/docs/8.3/interactive/xaggr.html > This would be very useful to me, but I have a question about ordering > of values. If I use more than one array_accum in the s

[GENERAL] Relative ordering in array aggregation

2011-02-09 Thread prakashn
I'm using 8.3.3. I came across the array_accum aggregate function in the docs: http://www.postgresql.org/docs/8.3/interactive/xaggr.html CREATE AGGREGATE array_accum (anyelement) ( sfunc = array_append, stype = anyarray, initcond = '{}' ); This would be very useful to me, but I ha