On 26 March 2016 at 15:07, David Rowley <david.row...@2ndquadrant.com> wrote: > Ok, so on further look at this I've decided to make changes and have > it so the serialisation function can be dumb about memory contexts in > the same way as finalize_aggregate() allows the final function to be > dumb... notice at the end of the function it copies byref types into > the correct memory context, if they're not already. So in the attached > the serialisation function call code now does the same thing. In fact > I decided to move all that code off into a function called > finalize_partialaggregate().
Please disregard the previous 0001 patch in favour of the attached one. -- David Rowley http://www.2ndQuadrant.com/ PostgreSQL Development, 24x7 Support, Training & Services
0001-Allow-INTERNAL-state-aggregates-to-participate-in-pa_2016-03-26a.patch
Description: Binary data
-- Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-hackers