Re: Combining Aggregates - Mailing list pgsql-hackers

From David Rowley
Subject Re: Combining Aggregates
Date
Msg-id CAApHDvpbQN4js34VB_jYbwosTEeYbHiL-MerkcjrU-MaEMcTYA@mail.gmail.com
Whole thread Raw
In response to Re: Combining Aggregates  (Tomas Vondra <tomas.vondra@2ndquadrant.com>)
Responses Re: Combining Aggregates
List pgsql-hackers
On 21 February 2015 at 07:16, Tomas Vondra <tomas.vondra@2ndquadrant.com> wrote:

2) serialize/deserialize functions
----------------------------------

This thread mentions "parallel queries" as a use case, but that means
passing data between processes, and that requires being able to
serialize and deserialize the aggregate state somehow. For actual data
types that's not overly difficult I guess (we can use in/out functions),
but what about aggretates using 'internal' state? I.e. aggregates
passing pointers that we can't serialize?


This is a good question. I really don't know the answer to it as I've not looked at the Robert's API for passing data between backends yet.

Maybe Robert or Amit can answer this?

Regards

David Rowley


pgsql-hackers by date:

Previous
From: David Rowley
Date:
Subject: Re: Combining Aggregates
Next
From: Jeevan Chalke
Date:
Subject: Re: How about to have relnamespace and relrole?