Re: Combining Aggregates

Поиск
Список
Период
Сортировка
От David Rowley
Тема Re: Combining Aggregates
Дата
Msg-id CAApHDvpbQN4js34VB_jYbwosTEeYbHiL-MerkcjrU-MaEMcTYA@mail.gmail.com
обсуждение исходный текст
Ответ на Re: Combining Aggregates  (Tomas Vondra <tomas.vondra@2ndquadrant.com>)
Ответы Re: Combining Aggregates  (Robert Haas <robertmhaas@gmail.com>)
Список 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 по дате отправления:

Предыдущее
От: David Rowley
Дата:
Сообщение: Re: Combining Aggregates
Следующее
От: Jeevan Chalke
Дата:
Сообщение: Re: How about to have relnamespace and relrole?