Re: Odd out of memory problem.
Peter Eisentraut <peter_e@gmx.net>
From: Peter Eisentraut <peter_e@gmx.net>
To: Hitoshi Harada <umi.tanuki@gmail.com>
Cc: Greg Stark <stark@mit.edu>, Tom Lane <tgl@sss.pgh.pa.us>, Andrew Dunstan <andrew@dunslane.net>, PostgreSQL-development <pgsql-hackers@postgresql.org>
Date: 2012-03-31T12:13:06Z
Lists: pgsql-hackers
On fre, 2012-03-30 at 22:59 -0700, Hitoshi Harada wrote: > I don't know exactly how PL/Proxy or pgpool accomplish the multi-phase > aggregate, They don't. > but in theory the proposal above is state-merge function, > so it doesn't apply to general aggregate results that passed through > the final function. Of course some functions that don't have final > functions are ok to call state-merge function on the results. You're right, it's not quite the same thing. But perhaps it could be kept in mind if someone wants to develop things in this area.