Re: asynchronous execution

Поиск
Список
Период
Сортировка
От Robert Haas
Тема Re: asynchronous execution
Дата
Msg-id CA+TgmoZSWnhy=SB3ggQcB6EqKxzbNeNn=EfwARnCS5tyhhBNcw@mail.gmail.com
обсуждение исходный текст
Ответ на Re: asynchronous execution  (Amit Khandekar <amitdkhan.pg@gmail.com>)
Список pgsql-hackers
On Tue, Oct 4, 2016 at 7:53 AM, Amit Khandekar <amitdkhan.pg@gmail.com> wrote:
> Also, parent pointers are not required in the new design. Thinking of
> parent pointers, now it seems the event won't get bubbled up the tree
> with the new design. But still, , I think it's possible to switch over
> to the other asynchronous tree when some node in the current subtree
> is waiting. But I am not sure, will think more on that.

The bubbling-up still happens, because each node that made an async
request gets a callback with the final response - and if it is itself
the recipient of an async request, it can use that callback to respond
to that request in turn.  This version doesn't bubble up through
non-async-aware nodes, but that might be a good thing.

-- 
Robert Haas
EnterpriseDB: http://www.enterprisedb.com
The Enterprise PostgreSQL Company



В списке pgsql-hackers по дате отправления:

Предыдущее
От: Robert Haas
Дата:
Сообщение: Re: Incorrect comment/doc for poll_query_until
Следующее
От: Robert Haas
Дата:
Сообщение: Re: Cardinality estimation for group by