Re: XTM & parallel search
От | Amit Kapila |
---|---|
Тема | Re: XTM & parallel search |
Дата | |
Msg-id | CAA4eK1KtfgVZtwu0ttVsxAG+WjYuR913fipk+62PsqN+ETpkBw@mail.gmail.com обсуждение исходный текст |
Ответ на | XTM & parallel search (Konstantin Knizhnik <k.knizhnik@postgrespro.ru>) |
Ответы |
Re: XTM & parallel search
|
Список | pgsql-hackers |
On Fri, Jun 3, 2016 at 1:34 AM, Konstantin Knizhnik <k.knizhnik@postgrespro.ru> wrote:
We have to add three more functions to eXtensible Transaction Manager API (XTM):
/*
* Calculate transaction state size. This method is invoked by EstimateTransactionStateSpace to copy transaction
* state to parallel workers
*/
size_t (*GetTransactionStateSize)(void);
/*
* Serialize transaction state
*/
void (*SerializeTransactionState)(void* ctx);
/*
* Deserialize transaction state
*/
void (*DeserializeTransactionState)(void* ctx);
In above proposal, are you suggesting to change the existing API's as well, because the parameters of function pointers don't match with exiting API's. I think it is better to consider this along with the overall XTM API.
В списке pgsql-hackers по дате отправления: