Re: [GENERAL] About aggregates...

2012-11-30 Thread Albe Laurenz
Michael Giannakopoulos wrote: > I would like to ask if there is any way to make an aggregate function to take a set of tuples as an > input variable. I know that an actual aggregate function receives each tuple one at a time and process > it on the fly. However I want to store tuples in an incremen

Re: [GENERAL] About aggregates...

2012-11-29 Thread David Johnston
From: pgsql-general-ow...@postgresql.org [mailto:pgsql-general-ow...@postgresql.org] On Behalf Of Michael Giannakopoulos Sent: Thursday, November 29, 2012 4:07 PM To: pgsql-general@postgresql.org Subject: [GENERAL] About aggregates... Hello guys, I would like to ask if there is any way to make an

Re: [GENERAL] About aggregates...

2012-11-29 Thread Ondrej Ivanič
Hi, On 30 November 2012 08:06, Michael Giannakopoulos wrote: > However an aggregate function > feeds me one a tuple for each call, but I would like to have access to a > batch of tuples per function call. Is there any possible way to perform > something like this? Yes, this might be good for you