Re: [HACKERS] aggregate that returns array

2002-07-02 Thread Hannu Krosing
On Tue, 2002-07-02 at 03:25, David M. Kaplan wrote: Hi, Has anyone considered creating an aggregate function that returns an array of all matching rows? check contrib/intagg for a function that does it for integers. --- Hannu ---(end of

[HACKERS] aggregate that returns array

2002-07-01 Thread David M. Kaplan
Hi, Has anyone considered creating an aggregate function that returns an array of all matching rows? I am not sure if this makes much sense from a speed point of view or is possible, but it would help denormalizing tables when necessary. For example, consider a table that looks as follows: